/* Reusable component styles (data table, avatar, status badge). */

.dt {
    background: #fff;
    border: 1px solid #ecebf0;
    border-radius: 16px;
    overflow: hidden;
}

.dt-scroll {
    overflow: auto;
}

.dt-head {
    position: sticky;
    top: 0;
    z-index: 2;
    display: grid;
    align-items: center;
    gap: 12px;
    padding: 13px 20px;
    background: #faf9fc;
    border-bottom: 1px solid #ecebf0;
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #a9a3b8;
}

.dt-row {
    display: grid;
    align-items: center;
    gap: 12px;
    padding: 0 20px;
    border-bottom: 1px solid #f2f0f6;
    background: #fff;
}

.dt-skeleton {
    grid-column: 1 / -1;
    height: 14px;
    border-radius: 7px;
    background: linear-gradient(90deg, #f2f0f6 25%, #e9e6f0 37%, #f2f0f6 63%);
    background-size: 400% 100%;
    animation: dt-shimmer 1.2s ease-in-out infinite;
}

@keyframes dt-shimmer {
    0% {
        background-position: 100% 0;
    }

    100% {
        background-position: 0 0;
    }
}

.dt-empty {
    padding: 46px 20px;
    text-align: center;
    color: #a9a3b8;
    font-size: 13.5px;
}

/* Avatar */
.ua {
    width: 38px;
    height: 38px;
    flex: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
}

/* Status badge */
.usb {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 3px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
}

.usb-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
}

.usb-active {
    background: #eaf7f0;
    color: #1f8a5b;
}

.usb-active .usb-dot {
    background: #1f8a5b;
}

.usb-disabled {
    background: #fdecea;
    color: #c0392b;
}

.usb-disabled .usb-dot {
    background: #c0392b;
}
