
/* ===== Styled card table (Employee Directory) =================== */

.slot-layout .responsive-card.rsl-table-card {
    border: 0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.16);
}

/* Keep borderless even on desktop breakpoint override in tables.css */
@media (min-width: 768px) {
    .slot-layout .responsive-card.rsl-table-card {
        border: 0;
    }
}

/* Header row */
.rsl-table-card thead th {
    background: #0f172a;
    color: #e5e7eb;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 0.75rem 1rem;
    border-color: #111827;
}

/* Zebra body rows */
.rsl-table-card tbody tr:nth-child(odd) td {
    background: #ffffff;
}

.rsl-table-card tbody tr:nth-child(even) td {
    background: #f9fafb;
}

.rsl-table-card tbody td {
    padding: 0.9rem 1rem;
    border-color: #e5e7eb;
}

/* Employee cell: avatar + text stack */
.rsl-table-employee {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.rsl-table-avatar {
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 999px;
    background: #4f46e5;
    color: #f9fafb;
    font-weight: 700;
    font-size: 0.8rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.rsl-table-name {
    font-weight: 600;
    color: #111827;
}

.rsl-table-dept {
    font-size: 0.8rem;
    color: #6b7280;
}

/* Contact cell: email + phone on separate lines */
.rsl-table-contact {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.rsl-table-contact-row {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.9rem;
    color: #111827;
}

.rsl-table-contact-row i {
    font-size: 0.85rem;
    color: #4b5563;
}

.rsl-table-contact-row a {
    color: #1d4ed8;
    text-decoration: none;
}

.rsl-table-contact-row a:hover {
    text-decoration: underline;
}

/* Role + status pill */
.rsl-table-role {
    font-weight: 500;
    margin-bottom: 0.25rem;
    color: #111827;
}

.rsl-status-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.15rem 0.65rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 500;
}

.rsl-status-dot {
    width: 0.45rem;
    height: 0.45rem;
    border-radius: 999px;
}

/* Status colors */
.rsl-status-pill--active {
    background: #ecfdf3;
    color: #15803d;
}

.rsl-status-pill--active .rsl-status-dot {
    background: #22c55e;
}

.rsl-status-pill--leave {
    background: #fef9c3;
    color: #92400e;
}

.rsl-status-pill--leave .rsl-status-dot {
    background: #f59e0b;
}

.rsl-status-pill--busy {
    background: #fee2e2;
    color: #b91c1c;
}

.rsl-status-pill--busy .rsl-status-dot {
    background: #ef4444;
}

.rsl-status-pill--inactive {
    background: #e5e7eb;
    color: #374151;
}

.rsl-status-pill--inactive .rsl-status-dot {
    background: #6b7280;
}

/* Small tweak for card layout on mobile */
@media (max-width: 767px) {
    .rsl-table-card tbody td {
        padding-top: 0.4rem;
        padding-bottom: 0.4rem;
    }
}

