.ct-dashboard-body {
    min-height: 100vh;
    margin: 0;
    background: #16191e;
    color: #d8dde7;
    font-family: Inter, Poppins, Arial, sans-serif;
}

.ct-topbar {
    background: #24282f;
    border-bottom: 1px solid #30343b;
}

.ct-topbar-main {
    min-height: 68px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
    padding: 0 6.6%;
}

.ct-brand {
    display: inline-flex;
    align-items: center;
    min-width: 184px;
    text-decoration: none;
}

.ct-brand img {
    width: 180px;
    max-width: 38vw;
    height: auto;
    display: block;
}

.ct-top-actions {
    display: flex;
    align-items: stretch;
    gap: 10px;
    margin-left: auto;
}

.ct-icon-button {
    width: 38px;
    height: 38px;
    border: 0;
    display: grid;
    place-items: center;
    color: #f6f8fb;
    background: transparent;
    font-size: 19px;
}

.ct-icon-button:hover,
.ct-icon-button:focus-visible {
    color: #fff;
    background: #2d323a;
    outline: none;
}

.ct-user-chip {
    min-width: 172px;
    min-height: 68px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0 18px;
    color: #fff;
    background: #2d323a;
    text-decoration: none;
}

.ct-user-avatar {
    width: 32px;
    height: 32px;
    display: grid;
    place-items: center;
    flex: 0 0 32px;
    border-radius: 50%;
    color: #11151b;
    background: #fff;
    font-size: 19px;
}

.ct-user-name,
.ct-user-role {
    display: block;
    max-width: 112px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ct-user-name {
    color: #fff;
    font-size: 13px;
    line-height: 1.25;
}

.ct-user-role {
    margin-top: 2px;
    color: #f0f2f7;
    font-size: 11px;
}

.ct-nav-strip {
    min-height: 46px;
    display: flex;
    align-items: center;
    gap: 26px;
    padding: 0 6.6%;
    background: #252930;
    border-top: 1px solid rgba(255,255,255,.02);
}

.ct-search {
    width: 164px;
    height: 26px;
    flex: 0 0 auto;
}

.ct-search input {
    width: 100%;
    height: 100%;
    border: 1px solid #2c3038;
    border-radius: 2px;
    padding: 0 10px;
    color: #aeb5c2;
    background: #22262d;
    font-size: 11px;
    outline: none;
}

.ct-search input::placeholder {
    color: #7d8593;
}

.ct-nav {
    display: flex;
    align-items: stretch;
    gap: 2px;
    min-width: 0;
}

.ct-nav-item {
    position: relative;
}

.ct-nav-link {
    min-height: 46px;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 0 13px;
    border: 0;
    color: #969daa;
    background: transparent;
    text-decoration: none;
    font-size: 15px;
    white-space: nowrap;
}

.ct-nav-link i {
    color: #f6f7fb;
    font-size: 16px;
    line-height: 1;
}

.ct-nav-link .ct-chevron {
    margin-left: 2px;
    font-size: 13px;
}

.ct-nav-link:hover,
.ct-nav-link:focus-visible,
.ct-nav-link.active,
.ct-nav-item:hover > .ct-nav-link,
.ct-nav-item:focus-within > .ct-nav-link {
    color: #fff;
    outline: none;
}

.ct-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 30;
    min-width: 192px;
    display: none;
    padding: 10px 0;
    background: #282d34;
    box-shadow: 0 18px 32px rgba(0,0,0,.26);
}

.ct-nav-item:hover > .ct-dropdown,
.ct-nav-item:focus-within > .ct-dropdown {
    display: block;
}

.ct-dropdown-link {
    min-height: 37px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 22px;
    color: #a2a9b7;
    text-decoration: none;
    font-size: 13px;
}

.ct-dropdown-link i:first-child {
    width: 16px;
    color: #f5f6fa;
    text-align: center;
    font-size: 15px;
}

.ct-dropdown-link .ct-menu-arrow {
    margin-left: auto;
}

.ct-dropdown-link:hover,
.ct-dropdown-link:focus-visible,
.ct-dropdown-link.active {
    color: #fff;
    background: #303640;
    outline: none;
}

.ct-content {
    padding: 40px 6.6% 64px;
}

.ct-page-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 42px;
}

.ct-page-title {
    margin: 0;
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0;
    text-transform: uppercase;
}

.ct-page-subtitle {
    margin-top: 8px;
    color: #8d96a5;
    font-size: 13px;
}

.ct-section-title {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 10px;
    color: #aeb5c3;
    font-size: 16px;
    font-weight: 500;
}

.ct-section-title i {
    color: #939ba9;
    font-size: 16px;
}

.ct-section-spaced {
    margin-top: 12px;
}

.ct-breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 7px;
    color: #7f8796;
    font-size: 12px;
}

.ct-breadcrumb a {
    color: #f3f5f9;
    text-decoration: none;
}

.ct-breadcrumb i {
    color: #6f7785;
}

.ct-card-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px 24px;
}

.ct-stat-card {
    min-height: 116px;
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 26px 20px;
    border: 1px solid #22272e;
    border-radius: 3px;
    background: #20252a;
}

.ct-stat-icon {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    flex: 0 0 48px;
    border-radius: 4px;
    color: #fff;
    font-size: 25px;
}

.ct-stat-icon.purple { background: #5637c9; }
.ct-stat-icon.green { background: #43cd87; }
.ct-stat-icon.blue { background: #2fa7de; }
.ct-stat-icon.yellow { background: #ffc21a; }
.ct-stat-icon.red { background: #f2614b; }
.ct-stat-icon.indigo { background: #3b80f7; }

.ct-stat-label {
    margin-bottom: 6px;
    color: #9ba2b0;
    font-size: 12px;
    line-height: 1.2;
    text-transform: uppercase;
}

.ct-stat-value {
    color: #f4f6fb;
    font-size: 21px;
    font-weight: 500;
    line-height: 1.25;
}

.ct-stat-sub {
    margin-top: 6px;
    color: #8992a0;
    font-size: 11px;
    line-height: 1.35;
}

.ct-stat-sub .success {
    color: #43cd87;
}

.ct-status-badge {
    display: inline-flex;
    align-items: center;
    min-height: 18px;
    padding: 2px 8px;
    border-radius: 4px;
    color: #fff;
    background: #43cd87;
    font-size: 11px;
    font-weight: 600;
    line-height: 1;
}

.ct-status-badge.online {
    color: #fff;
    background: #43cd87;
}

.ct-status-badge.away {
    background: #ffc21a;
}

.ct-status-badge.offline {
    background: #f2614b;
}

.ct-status-badge.neutral {
    background: #596171;
}

.ct-table-shell {
    padding: 16px;
    background: #20252a;
    border-radius: 3px;
}

.ct-table-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 14px;
    color: #f2f4f8;
    font-size: 13px;
}

.ct-table-control {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.ct-table-control select,
.ct-table-search input {
    height: 28px;
    border: 1px solid #2e343c;
    border-radius: 3px;
    color: #dce1ea;
    background: #252a31;
    font-size: 12px;
    outline: none;
}

.ct-table-control select {
    min-width: 72px;
    padding: 0 28px 0 10px;
}

.ct-table-search {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.ct-table-search input {
    width: 164px;
    padding: 0 10px;
}

.ct-data-table {
    --bs-table-bg: transparent;
    --bs-table-color: #e4e8ef;
    --bs-table-border-color: #30363e;
    width: 100%;
    margin: 0;
    border-color: #30363e;
}

.ct-data-table th,
.ct-data-table td {
    height: 44px;
    padding: 11px 10px;
    border-color: #30363e;
    vertical-align: middle;
    font-size: 13px;
}

.ct-data-table th {
    color: #f2f4f8;
    font-weight: 600;
}

.ct-data-table td {
    color: #dce1e9;
}

.ct-data-table .muted {
    color: #8b94a2;
}

.ct-name-strong {
    color: #f5f7fb;
    font-weight: 600;
}

.ct-inline-uid {
    color: #7f8898;
    font-size: 11px;
    overflow-wrap: anywhere;
}

.ct-rank-number {
    color: #cfd5df;
    font-weight: 600;
}

.ct-table-footer {
    display: flex;
    justify-content: flex-end;
    gap: 6px;
    margin-top: 8px;
    padding-top: 0;
}

.ct-page-button {
    min-width: 32px;
    height: 32px;
    border: 0;
    padding: 0 10px;
    color: #dce1ea;
    background: transparent;
    font-size: 13px;
}

.ct-page-button:hover,
.ct-page-button:focus-visible,
.ct-page-button.active {
    color: #fff;
    background: #5637c9;
    outline: none;
}

.ct-page-button:disabled {
    color: #7c8492;
    background: transparent;
    cursor: default;
}

.ct-empty-row {
    text-align: center;
    color: #8b94a2;
}

@media (max-width: 1199.98px) {
    .ct-card-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 991.98px) {
    .ct-topbar-main,
    .ct-nav-strip,
    .ct-content {
        padding-left: 22px;
        padding-right: 22px;
    }

    .ct-topbar-main {
        flex-wrap: wrap;
        padding-top: 12px;
        padding-bottom: 12px;
    }

    .ct-top-actions {
        margin-left: 0;
    }

    .ct-nav-strip {
        align-items: flex-start;
        flex-direction: column;
        gap: 10px;
        padding-top: 10px;
        padding-bottom: 10px;
    }

    .ct-nav {
        width: 100%;
        flex-wrap: wrap;
    }

    .ct-dropdown {
        position: static;
        min-width: 100%;
        box-shadow: none;
    }
}

@media (max-width: 767.98px) {
    .ct-card-grid {
        grid-template-columns: 1fr;
    }

    .ct-page-top,
    .ct-table-toolbar {
        flex-direction: column;
        align-items: stretch;
    }

    .ct-breadcrumb {
        justify-content: flex-start;
    }

    .ct-table-search,
    .ct-table-search input {
        width: 100%;
    }

    .ct-data-table {
        min-width: 720px;
    }
}

@media (max-width: 575.98px) {
    .ct-brand {
        min-width: 0;
    }

    .ct-brand img {
        width: 146px;
        max-width: 52vw;
    }

    .ct-top-actions .ct-icon-button {
        display: none;
    }

    .ct-user-chip {
        min-width: 0;
        padding: 0 12px;
    }

    .ct-user-name,
    .ct-user-role {
        max-width: 92px;
    }

    .ct-search {
        width: 100%;
    }

    .ct-nav-link {
        min-height: 38px;
        padding: 0 9px;
        font-size: 13px;
    }

    .ct-content {
        padding-top: 28px;
    }

    .ct-stat-card {
        min-height: 104px;
        padding: 20px 16px;
    }
}
