/* Reusable tenant content and card styles, based on the V2 admin mockup. */
.tenant-content {
    --tenant-ink: #1a1a2e;
    --tenant-body: #4a5568;
    --tenant-muted: #8a97b0;
    --tenant-line: #e6e9f0;
    --tenant-orange: #c85a1a;
    --tenant-green-bg: #e2f5ec;
    --tenant-green-text: #2f8a60;
    --tenant-amber-bg: #fbf0d8;
    --tenant-amber-text: #9a7320;
    --tenant-blue-bg: #e8edff;
    --tenant-blue-text: #3a55c0;
}

.tenant-content .sub {
    max-width: 840px;
    margin: 6px 0 18px;
    color: var(--tenant-muted);
    font-size: 13px;
    line-height: 1.5;
}

.tenant-content .sub b {
    color: var(--tenant-body);
    font-weight: 600;
}

.tenant-content .tencard {
    margin-bottom: 14px;
    padding: 18px 20px;
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--tenant-line);
    border-radius: 12px;
}

.tenant-content .tencard.iso {
    border-left: 3px solid var(--tenant-orange);
}

.tenant-content .tenhead {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 11px;
    margin-bottom: 14px;
}

.tenant-content .tenhead .tn {
    color: var(--tenant-ink);
    font-size: 16px;
    font-weight: 600;
}

.tenant-content .tengrid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px 22px;
}

.tenant-content .tf {
    min-width: 0;
}

.tenant-content .tf .tl {
    margin-bottom: 4px;
    color: var(--tenant-muted);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: .03em;
    text-transform: uppercase;
}

.tenant-content .tf .tv {
    overflow-wrap: anywhere;
    color: var(--tenant-ink);
    font-size: 13px;
    font-weight: 500;
}

.tenant-content .tf .tv.none {
    color: var(--tenant-muted);
    font-weight: 400;
}

.tenant-content .tag {
    display: inline-flex;
    align-items: center;
    padding: 3px 8px;
    border-radius: 5px;
    font-size: 10px;
    font-weight: 600;
    line-height: 1.4;
    white-space: nowrap;
}

.tenant-content .tag.green {
    color: var(--tenant-green-text);
    background: var(--tenant-green-bg);
}

.tenant-content .tag.amber {
    color: var(--tenant-amber-text);
    background: var(--tenant-amber-bg);
}

.tenant-content .tag.blue {
    color: var(--tenant-blue-text);
    background: var(--tenant-blue-bg);
}

.tenant-content .tag.gray {
    color: var(--tenant-muted);
    background: #eef0f5;
}

.tenant-content .tenant-empty {
    display: flex;
    min-height: 180px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: var(--tenant-muted);
    text-align: center;
}

.tenant-content .tenant-empty h2 {
    color: var(--tenant-ink);
    font-size: 16px;
    font-weight: 600;
}

@media (max-width: 1024px) {
    .tenant-content .tengrid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .tenant-content .tencard {
        padding: 16px;
    }

    .tenant-content .tengrid {
        grid-template-columns: 1fr;
    }
}

/* Datatable headings, matching the V2 admin mockup. */
.kt-table thead th,
.kt-table thead th .kt-table-col-label {
    color: #4a5568;
    font-weight: 600;
}

/* Initials avatar in the users table, from the V2 admin mockup. */
.user-initials {
    width: 34px;
    height: 34px;
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #e8edff;
    color: #3a55c0;
    font-size: 12px;
    font-weight: 600;
}
