:root {
    --skyline-red: #b70d22;
    --skyline-red-dark: #8f0718;
    --skyline-ink: #17191c;
    --side-width: 250px;
}

.admin-body {
    background: #f4f4f5;
    min-height: 100vh;
}

.admin-wrap {
    min-height: 100vh;
}

.admin-sidebar {
    width: var(--side-width);
    background: var(--skyline-ink);
    color: #cdd1d5;
    flex-shrink: 0;
    position: sticky;
    top: 0;
    height: 100vh;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

.sidebar-brand {
    padding: 20px 20px;
    border-bottom: 1px solid #2a2d31;
}

.sidebar-brand a {
    color: #fff;
    font-weight: 700;
    letter-spacing: .02em;
}

.sidebar-brand i {
    color: var(--skyline-red);
    font-size: 1.4rem;
}

.sidebar-nav {
    padding: 12px 0;
}

.sidebar-nav .nav-section {
    padding: 16px 20px 6px;
    font-size: 10px;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: #6b7178;
    font-weight: 800;
}

.sidebar-nav .nav-link {
    color: #cdd1d5;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    font-size: 14px;
    border-left: 3px solid transparent;
}

.sidebar-nav .nav-link i {
    width: 20px;
    text-align: center;
}

.sidebar-nav .nav-link:hover {
    color: #fff;
    background: rgba(255,255,255,.04);
}

.sidebar-nav .nav-link.active {
    color: #fff;
    background: rgba(183,13,34,.14);
    border-left-color: var(--skyline-red);
}

.admin-main {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.admin-topbar {
    background: #fff;
    border-bottom: 1px solid #e3e5e7;
    min-height: 64px;
    position: sticky;
    top: 0;
    z-index: 100;
}

.admin-content {
    max-width: 1400px;
    width: 100%;
}

.stat-card {
    background: #fff;
    border: 1px solid #e7e9eb;
    border-radius: 10px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    height: 100%;
}

.stat-icon {
    width: 54px;
    height: 54px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.stat-value {
    font-size: 1.7rem;
    font-weight: 700;
    line-height: 1;
}

.stat-label {
    color: #6b7178;
    font-size: .85rem;
    margin-top: 4px;
}

/* Tables */
.table thead th {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: #6b7178;
    border-bottom-width: 1px;
}

/* Forms */
.form-label {
    font-weight: 600;
    font-size: .85rem;
}

.card {
    border-color: #e7e9eb;
    box-shadow: 0 1px 2px rgba(23,25,28,.04);
}

.card-header {
    border-bottom: 1px solid #e7e9eb;
}

.btn-primary {
    background: var(--skyline-red);
    border-color: var(--skyline-red);
}

.btn-primary:hover, .btn-primary:focus {
    background: var(--skyline-red-dark);
    border-color: var(--skyline-red-dark);
}

.page-title {
    font-size: 1.35rem;
    font-weight: 700;
}

.thumbnail {
    width: 48px;
    height: 48px;
    object-fit: cover;
    border-radius: 6px;
    background: var(--skyline-soft, #f3f4f5);
}

.media-grid img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 6px;
    border: 1px solid #e7e9eb;
}

.list-image {
    width: 56px;
    height: 40px;
    object-fit: cover;
    border-radius: 4px;
    background: #f3f4f5;
}

@media (max-width: 991.98px) {
    .admin-sidebar {
        position: fixed;
        left: 0;
        top: 0;
        z-index: 1050;
        transform: translateX(-100%);
        transition: transform .2s ease;
    }
    .admin-sidebar.open {
        transform: translateX(0);
    }
}
