:root {
    --bg: #0f1012;
    --bg-soft: #14161a;
    --panel: #1a1d22;
    --panel-soft: #20242a;
    --stroke: #2d323a;
    --text: #f3f4f6;
    --muted: #9ca3af;
    --primary: #ff2f61;
    --primary-strong: #ff1f56;
    --chip: #ff4a73;
}

* {
    font-family: "Be Vietnam Pro", sans-serif;
}

body {
    background:
        radial-gradient(1200px 680px at 50% -30%, #1b1e27 0%, transparent 60%),
        radial-gradient(900px 500px at 10% -10%, rgba(255, 47, 97, 0.12) 0%, transparent 55%),
        radial-gradient(900px 500px at 90% -20%, rgba(71, 121, 255, 0.1) 0%, transparent 58%),
        linear-gradient(170deg, #0f1012 0%, #0d0f12 45%, #0c0d10 100%);
    color: var(--text);
    min-height: 100vh;
    overflow-x: hidden;
}

.bg-orb {
    display: none;
}

.app-nav {
    background: rgba(15, 16, 18, 0.92) !important;
    border-bottom: 1px solid var(--stroke) !important;
    backdrop-filter: blur(6px);
}

.nav-wrap {
    min-height: 68px;
}

.app-brand {
    font-size: 1.55rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.nav-primary-links .nav-link {
    font-size: 1.05rem;
    font-weight: 700;
    color: #f5f5f5;
    padding-left: 1rem !important;
    padding-right: 1rem !important;
    transition: color 0.2s ease, transform 0.2s ease;
}

.nav-primary-links .nav-link.active,
.nav-primary-links .nav-link:hover {
    color: var(--primary) !important;
    transform: translateY(-1px);
}

.nav-search-wrap {
    width: min(360px, 42vw);
}

.nav-right {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-search {
    border-radius: 999px;
    background: #24262b;
    border: 1px solid #2f333b;
    color: #fff;
    height: 42px;
}

.nav-search::placeholder {
    color: #b3b9c4;
}

.nav-search:focus {
    background: #24262b;
    color: #fff;
    border-color: #3d4450;
    box-shadow: none;
}

.nav-mega-menu {
    margin-top: 0.6rem;
    border-radius: 14px;
    border: 1px solid var(--stroke);
    background: #1d2026;
    min-width: 680px;
}

.nav-mega-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(120px, 1fr));
    gap: 0;
    padding: 12px;
}

.nav-mega-col .dropdown-item {
    color: #e8ecf3;
    border-radius: 8px;
    padding: 0.5rem 0.65rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.nav-mega-col .dropdown-item:hover {
    background: #2b2f36;
    color: #fff;
}

.nav-auth-actions .btn {
    border-radius: 999px;
    min-height: 38px;
    padding: 0.42rem 0.85rem;
    font-weight: 700;
    border-width: 1px;
    transition: transform 0.2s ease, filter 0.2s ease, box-shadow 0.2s ease;
}

.nav-auth-actions .btn:hover {
    transform: translateY(-1px);
    filter: brightness(1.06);
}

.nav-auth-actions .btn-outline-light {
    color: #e9edf6;
    border-color: #4b5464;
    background: #242a34;
}

.nav-auth-actions .btn-outline-info {
    border-color: #4f84a0;
    background: #243846;
    color: #d9effa;
}

.nav-auth-actions .btn-warning {
    background: linear-gradient(135deg, #ffcb6b, #ffb038);
    border-color: #ffb545;
    color: #1a1304;
}

.nav-auth-actions .btn-primary {
    background: linear-gradient(135deg, #ff456f, #ff2f61);
    border-color: #ff4a74;
    box-shadow: 0 9px 16px rgba(255, 47, 97, 0.26);
}

.featured-stage {
    position: relative;
    border-radius: 18px;
    overflow: hidden;
    min-height: 580px;
    border: 1px solid var(--stroke);
    background: #0d0f13;
}

.featured-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    pointer-events: none;
    transform: scale(1.015);
    transition: opacity 0.45s ease, transform 0.55s ease;
}

.featured-slide.is-active {
    opacity: 1;
    pointer-events: auto;
    z-index: 1;
    transform: scale(1);
}

.featured-slide.is-bounce {
    animation: heroBounceIn 0.52s cubic-bezier(0.2, 0.9, 0.3, 1.25);
}

.featured-stage-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.featured-stage-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(7, 8, 10, 0.86) 0%, rgba(10, 11, 13, 0.65) 35%, rgba(10, 11, 13, 0.2) 66%, rgba(10, 11, 13, 0.7) 100%);
}

.featured-stage-left {
    position: relative;
    z-index: 2;
    max-width: 420px;
    min-height: 580px;
    padding: 34px 30px 34px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    background: linear-gradient(90deg, rgba(13, 14, 17, 0.72), transparent);
}

.featured-hot {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    border-radius: 999px;
    background: var(--chip);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 800;
    padding: 0.2rem 0.58rem;
    margin-bottom: 12px;
}

.featured-stage-title {
    margin: 0 0 10px;
    font-size: clamp(1.85rem, 3.2vw, 3.25rem);
    line-height: 1.08;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.featured-stage-subtitle {
    margin: 0 0 16px;
    color: #d2d7de;
    font-size: 0.98rem;
}

.featured-stage-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    border-radius: 10px;
    padding: 0.72rem 1.3rem;
    background: var(--primary);
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}

.featured-stage-btn:hover {
    color: #fff;
    background: var(--primary-strong);
    transform: translateY(-2px) scale(1.01);
    box-shadow: 0 10px 22px rgba(255, 47, 97, 0.34);
}

.featured-stage-dots {
    position: absolute;
    right: 24px;
    bottom: 22px;
    display: inline-flex;
    gap: 8px;
    z-index: 2;
}

.featured-stage-dots .dot {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    border: 0;
    padding: 0;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.55);
    transition: width 0.25s ease, background 0.25s ease, transform 0.25s ease;
}

.featured-stage-dots .dot.active {
    width: 34px;
    background: #fff;
}

.featured-stage-dots .dot:hover {
    transform: scale(1.16);
}

.toolbar-panel {
    background: var(--panel);
    border: 1px solid var(--stroke);
    border-radius: 14px;
    padding: 14px;
}

.section-title {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 1.1rem;
    letter-spacing: -0.02em;
}

.poster-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 18px;
}

.poster-card {
    border-radius: 14px;
    position: relative;
}

.poster-media,
.short-media {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    isolation: isolate;
    border: 1px solid var(--stroke);
    background: #171a20;
    transition: transform 0.24s ease, box-shadow 0.26s ease, border-color 0.24s ease;
}

.poster-link,
.short-link {
    display: block;
    position: relative;
    border-radius: inherit;
    overflow: hidden;
    background: transparent;
}

.poster-overlay {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 42%;
    background: linear-gradient(to top, rgba(8, 10, 14, 0.55), rgba(8, 10, 14, 0));
    opacity: 0.74;
    transition: opacity 0.24s ease, background 0.24s ease;
    pointer-events: none;
}

.poster-img {
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    transition: transform 0.2s ease;
}

.poster-media:hover .poster-img,
.short-media:hover .short-thumb {
    transform: scale(1.045);
}

.poster-media:hover,
.short-media:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 30px rgba(0, 0, 0, 0.32);
    border-color: #3c4351;
}

.poster-meta {
    padding: 12px 4px 0;
}

.poster-meta h3 {
    margin: 0;
    font-size: 1.08rem;
    line-height: 1.35;
    font-weight: 700;
    min-height: 2.8em;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.poster-meta p {
    margin: 6px 0 0;
    color: var(--muted);
    font-size: 0.92rem;
}

.shorts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 18px;
}

.short-card {
    background: transparent;
    border: 0;
    border-radius: 14px;
    position: relative;
}

.short-thumb {
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    display: block;
    transition: transform 0.24s ease;
}

.short-meta {
    padding: 12px 12px 14px;
}

.short-meta h2,
.short-meta h3 {
    min-height: 2.7em;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card-hover-actions {
    position: absolute;
    left: 10px;
    right: 10px;
    bottom: 10px;
    z-index: 3;
    display: flex;
    align-items: stretch;
    gap: 8px;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.24s ease, transform 0.24s ease;
    pointer-events: none;
}

.poster-card:hover .poster-overlay,
.short-card:hover .poster-overlay,
.poster-card:focus-within .poster-overlay,
.short-card:focus-within .poster-overlay {
    background: linear-gradient(to top, rgba(8, 8, 10, 0.9), rgba(8, 8, 10, 0.08));
    opacity: 1;
}

.poster-card:hover .card-hover-actions,
.short-card:hover .card-hover-actions,
.poster-card:focus-within .card-hover-actions,
.short-card:focus-within .card-hover-actions {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.hover-btn {
    border: 0;
    border-radius: 10px;
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
}

.hover-btn-play {
    flex: 1 1 auto;
    height: 40px;
    background: linear-gradient(135deg, #ff3d6f, #ff2f61);
    color: #fff;
    box-shadow: 0 8px 18px rgba(255, 47, 97, 0.35);
}

.hover-btn-play:hover {
    color: #fff;
    filter: brightness(1.06);
}

.hover-btn-icon {
    font-size: 0.78rem;
}

.hover-btn-ghost {
    flex: 0 0 46px;
    height: 40px;
    background: rgba(44, 48, 58, 0.92);
    color: #e9edf7;
    border: 1px solid rgba(255, 255, 255, 0.14);
}

.hover-btn-ghost:hover {
    background: rgba(64, 70, 84, 0.95);
}

.hover-btn:focus-visible {
    outline: 2px solid rgba(255, 255, 255, 0.85);
    outline-offset: 1px;
}

.video-player {
    width: 100%;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--stroke);
    background: #000;
    position: relative;
}

.video-player iframe,
.video-player video {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

.video-player-portrait {
    aspect-ratio: 9 / 16;
    max-width: 440px;
    margin: 0 auto;
}

.portrait-episode-nav {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 8px;
    z-index: 6;
}

.portrait-nav-btn {
    width: 38px;
    height: 38px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.36);
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.portrait-nav-btn.disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.share-row {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.share-btn {
    width: 34px;
    height: 34px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.24);
    background: #262a31;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-weight: 700;
    cursor: pointer;
}

.share-fb { background: #1877f2; border-color: #1877f2; }
.share-x { background: #0f1419; border-color: #0f1419; }
.share-tg { background: #229ed9; border-color: #229ed9; }
.share-copy { background: var(--primary); border-color: var(--primary); }

.short-description,
.short-episode-panel {
    background: #1b1f25;
    border: 1px solid var(--stroke);
    border-radius: 12px;
    padding: 12px;
}

.short-episode-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.short-episode-range {
    color: #ff5b82;
    font-weight: 700;
}

.short-episode-all {
    color: #b9c0cc;
    font-size: 0.9rem;
}

.short-episode-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 8px;
}

.short-episode-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 36px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 700;
    color: #e8efff;
    border: 1px solid #303643;
    background: #232831;
    transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.short-episode-btn.active {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
}

.short-episode-btn:hover {
    transform: translateY(-1px);
    border-color: #475166;
    background: #2a303a;
}

.form-control,
.form-select {
    background: #242830;
    color: #fff;
    border: 1px solid #343a45;
}

.form-control:focus,
.form-select:focus {
    background: #242830;
    color: #fff;
    border-color: #4c5563;
    box-shadow: none;
}

.btn-primary {
    border: none;
    background: var(--primary);
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn-primary:hover {
    background: var(--primary-strong);
    transform: translateY(-1px);
    box-shadow: 0 10px 20px rgba(255, 47, 97, 0.28);
}

.breadcrumb {
    --bs-breadcrumb-divider-color: #7f8797;
    --bs-breadcrumb-item-active-color: #eef3ff;
}

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

.pagination .page-link {
    background: #1d2229;
    color: #e3ebff;
    border-color: #313743;
}

.pagination .active .page-link {
    background: var(--primary);
    border-color: var(--primary);
}

.site-footer {
    border-top: 1px solid var(--stroke);
    background: #171a1f;
    padding: 32px 0 18px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
    margin-bottom: 24px;
}

.footer-grid h3 {
    margin: 0 0 10px;
    font-size: 1.35rem;
}

.footer-grid a,
.footer-grid small {
    display: block;
    color: #afb6c3;
    text-decoration: none;
    margin-bottom: 8px;
}

.footer-grid a:hover {
    color: #fff;
}

.app-box {
    width: 110px;
    height: 110px;
    border-radius: 10px;
    border: 1px dashed #505869;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #d6deea;
    margin-bottom: 8px;
    background: #1f242b;
}

.footer-bottom {
    border-top: 1px solid #2a3038;
    padding-top: 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    color: #9fa8b6;
}

.back-to-top {
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 999px;
    background: var(--primary);
    color: #fff;
    font-size: 1.35rem;
    line-height: 1;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.back-to-top:hover {
    transform: translateY(-2px) scale(1.04);
    background: var(--primary-strong);
    box-shadow: 0 10px 24px rgba(255, 47, 97, 0.34);
}

.reveal-on-scroll {
    opacity: 0;
    transform: translateY(14px);
    transition: opacity 0.35s ease, transform 0.35s ease;
}

.reveal-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.app-fade-in {
    animation: fadeUp 0.35s ease;
}

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(5px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes heroBounceIn {
    0% { transform: scale(0.985); }
    45% { transform: scale(1.018); }
    100% { transform: scale(1); }
}

@media (max-width: 1200px) {
    .nav-mega-menu {
        min-width: 560px;
    }

    .nav-mega-grid {
        grid-template-columns: repeat(4, minmax(120px, 1fr));
    }
}

@media (max-width: 992px) {
    .nav-right {
        display: block;
        width: 100%;
    }

    .nav-search-wrap {
        width: 100%;
        margin: 8px 0 !important;
    }

    .nav-auth-actions {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
        margin-top: 8px;
    }

    .nav-mega-menu {
        min-width: 100%;
    }

    .nav-mega-grid {
        grid-template-columns: repeat(2, minmax(120px, 1fr));
    }

    .featured-stage {
        min-height: 460px;
    }

    .featured-stage-left {
        min-height: 460px;
        max-width: 100%;
        width: 100%;
    }

    .footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 576px) {
    .app-brand {
        font-size: 1.25rem;
    }

    .featured-stage {
        min-height: 390px;
    }

    .featured-stage-left {
        padding: 20px 16px;
        min-height: 390px;
    }

    .featured-stage-title {
        font-size: 1.7rem;
    }

    .section-title {
        font-size: 1.6rem;
    }

    .poster-grid,
    .shorts-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .poster-meta h3,
    .short-meta h2,
    .short-meta h3 {
        min-height: 2.45em;
        font-size: 0.98rem;
    }

    .card-hover-actions {
        left: 8px;
        right: 8px;
        bottom: 8px;
    }

    .hover-btn {
        min-height: 34px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }
}

/* Admin UI */
.admin-shell {
    display: grid;
    grid-template-columns: 280px 1fr;
    min-height: 100vh;
    gap: 16px;
}

.admin-sidebar-panel {
    border: 1px solid #313746;
    background: linear-gradient(180deg, #1c212b 0%, #171b22 100%);
    border-radius: 18px;
    padding: 18px 14px;
    position: sticky;
    top: 14px;
    height: calc(100vh - 28px);
    box-shadow: 0 14px 26px rgba(0, 0, 0, 0.22);
}

.admin-brand-wrap {
    padding: 10px 10px 14px;
    border-bottom: 1px solid #3b4253;
    margin-bottom: 12px;
}

.admin-brand {
    color: #f2f6ff;
    font-size: 1.1rem;
    font-weight: 700;
    text-decoration: none;
    display: block;
}

.admin-nav-links {
    display: grid;
    gap: 8px;
}

.admin-nav-link {
    display: block;
    text-decoration: none;
    color: #e0e6f5;
    background: #232a35;
    border: 1px solid #303748;
    border-radius: 12px;
    padding: 10px 12px;
    transition: all 0.2s ease, transform 0.2s ease;
}

.admin-nav-link:hover,
.admin-nav-link.active {
    color: #fff;
    border-color: #5a6478;
    background: linear-gradient(135deg, #2f3746, #28303d);
    transform: translateX(2px);
}

.admin-main {
    padding: 14px 10px 14px 0;
}

.admin-topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
    background: #191e27;
    border: 1px solid #31384a;
    border-radius: 16px;
    padding: 13px 15px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.18);
}

.admin-topbar-title {
    font-size: 1rem;
    font-weight: 700;
}

.admin-content {
    display: block;
}

.admin-panel-card {
    background: linear-gradient(180deg, #1b2029 0%, #171b22 100%);
    border: 1px solid #2f3544;
    border-radius: 16px;
    box-shadow: 0 12px 24px rgba(5, 8, 15, 0.18);
    animation: adminPanelIn 0.25s ease;
}

.admin-overview {
    margin-bottom: 14px;
}

.admin-kpi-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.admin-stat-card {
    background: linear-gradient(145deg, #242b38 0%, #202633 100%);
    border: 1px solid #3a4356;
    border-radius: 16px;
    padding: 16px;
}

.admin-stat-label {
    margin: 0 0 6px;
    color: #c7f8ff;
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.admin-stat-value {
    margin: 0;
    font-weight: 800;
}

.admin-stat-meta {
    margin-top: 8px;
    color: #9da8bd;
    font-size: 0.84rem;
}

.admin-section-title {
    margin: 0;
    font-size: 1rem;
    font-weight: 700;
}

.admin-muted {
    color: #9aa4ba;
}

.admin-top-list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 10px;
}

.admin-top-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border: 1px solid #2f3544;
    border-radius: 12px;
    background: #1b2029;
}

.admin-top-item strong {
    font-size: 0.95rem;
    line-height: 1.35;
}

.admin-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    padding: 0.22rem 0.6rem;
    border: 1px solid #44506a;
    background: #263246;
    color: #d5e4ff;
    font-size: 0.8rem;
    font-weight: 700;
}

.admin-quick-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.admin-btn {
    border: 1px solid transparent;
    border-radius: 10px;
    padding: 0.46rem 0.88rem;
    font-weight: 600;
    font-size: 0.86rem;
    letter-spacing: 0.01em;
    transition: transform 0.18s ease, filter 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}

.admin-btn:hover {
    transform: translateY(-1px) scale(1.01);
}

.admin-btn-primary {
    color: #fff;
    border-color: #ff547f;
    background: linear-gradient(135deg, #ff3f72, #ff2f61);
    box-shadow: 0 10px 20px rgba(255, 47, 97, 0.25);
}

.admin-btn-primary:hover {
    filter: brightness(1.04);
}

.admin-btn-ghost {
    color: #eaf1ff;
    border-color: #465063;
    background: #2a313d;
}

.admin-btn-ghost:hover {
    border-color: #515b6c;
}

.admin-btn-info {
    color: #dbf7ff;
    border-color: #3f617e;
    background: #2f4b64;
}

.admin-btn-warning {
    color: #1c1200;
    border-color: #c88b2b;
    background: #ffb347;
}

.admin-btn-danger {
    color: #ffe4e4;
    border-color: #c45c77;
    background: #ad3759;
}

.admin-btn-neutral {
    color: #f3f6ff;
    border-color: #3d4553;
    background: #2d333d;
}

.admin-table-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.admin-main .table {
    --bs-table-bg: transparent;
    --bs-table-color: #e8edf6;
    --bs-table-border-color: #333a4a;
}

.admin-main .table > :not(caption) > * > * {
    padding: 0.72rem 0.64rem;
}

.admin-main .table thead th {
    color: #c3ccdc;
    font-weight: 700;
    border-bottom-width: 1px;
}

.admin-main .table tbody tr:hover {
    background: rgba(255, 255, 255, 0.03);
}

.admin-main .form-control,
.admin-main .form-select {
    background: #232a35;
    border-color: #384156;
}

.admin-main .form-control:focus,
.admin-main .form-select:focus {
    border-color: #5a6782;
}

@media (max-width: 992px) {
    .admin-shell {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .admin-sidebar-panel {
        position: static;
        height: auto;
        padding: 14px;
        border-radius: 14px;
    }

    .admin-nav-links {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .admin-main {
        padding: 0;
    }

    .admin-kpi-grid,
    .admin-quick-grid {
        grid-template-columns: 1fr;
    }
}

@keyframes adminPanelIn {
    from {
        opacity: 0;
        transform: translateY(4px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
