:root {
    --admin-primary: #0b2545;
    --admin-secondary: #13315c;
    --admin-accent: #d4a373;
    --admin-bg: #f3f4f6;
    --admin-text: #1f2937;
    --sidebar-width: 260px;
}

body {
    background-color: var(--admin-bg);
    min-height: 100vh;
    font-family: 'Inter', sans-serif;
}

/* Sidebar */
.sidebar {
    height: 100vh;
    width: var(--sidebar-width);
    position: fixed;
    top: 0;
    left: 0;
    background: var(--admin-primary);
    color: white;
    padding-top: 1rem;
    transition: all 0.3s;
    z-index: 1000;
}

.sidebar-header {
    padding: 1rem 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 1rem;
}

.sidebar-header h3 {
    color: white;
    font-size: 1.25rem;
    font-family: 'Outfit', sans-serif;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-link {
    color: rgba(255, 255, 255, 0.8) !important;
    padding: 0.8rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
    transition: all 0.2s;
    border-left: 4px solid transparent;
}

.nav-link:hover,
.nav-link.active {
    background: rgba(255, 255, 255, 0.1);
    color: var(--admin-accent) !important;
    border-left-color: var(--admin-accent);
}

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

/* Main Content */
.main-content {
    margin-left: var(--sidebar-width);
    padding: 2rem;
    transition: all 0.3s;
}

/* Cards */
.card {
    border: none;
    border-radius: 10px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    background: white;
    margin-bottom: 1.5rem;
}

.card-header {
    background: white;
    border-bottom: 1px solid #e5e7eb;
    padding: 1.25rem;
    border-radius: 10px 10px 0 0 !important;
}

.card-title {
    color: var(--admin-primary);
    font-weight: 600;
    margin: 0;
}

/* Forms */
.form-control,
.form-select {
    border-radius: 6px;
    border-color: #d1d5db;
    padding: 0.6rem 1rem;
}

.form-control:focus {
    border-color: var(--admin-accent);
    box-shadow: 0 0 0 3px rgba(212, 163, 115, 0.1);
}

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

.btn-primary:hover {
    background-color: var(--admin-secondary);
}

.btn-success {
    background-color: #10b981;
    border: none;
}

/* Tables */
.table th {
    font-weight: 600;
    color: var(--admin-text);
    background-color: #f9fafb;
    border-bottom: 2px solid #e5e7eb;
}

.table td {
    vertical-align: middle;
}

.table img {
    border-radius: 6px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Login Overlay */
.admin-login-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #0b2545 0%, #13315c 100%), 
                url('https://images.unsplash.com/photo-1500382017468-9049fed747ef?auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-blend-mode: multiply;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
}

.login-card-glass {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 24px;
    padding: 3rem;
    width: 450px;
    max-width: 90%;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.login-icon-box {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--admin-accent) 0%, #b38b5d 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    font-size: 2rem;
    color: white;
    box-shadow: 0 10px 20px rgba(212, 163, 115, 0.3);
}

.btn-login-gradient {
    background: linear-gradient(90deg, var(--admin-accent) 0%, #b38b5d 100%);
    color: white;
    border: none;
    border-radius: 12px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    letter-spacing: 1px;
}

.btn-login-gradient:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(212, 163, 115, 0.3);
    color: white;
    filter: brightness(1.1);
}

.login-card-glass .input-group-text,
.login-card-glass .form-control {
    border-color: rgba(255, 255, 255, 0.3);
}

.login-card-glass .form-control:focus {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--admin-accent);
}

.login-card-glass .form-control::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

.hover-white {
    transition: color 0.3s ease;
}

.hover-white:hover {
    color: white !important;
}

/* Responsive */
@media (max-width: 768px) {
    .sidebar {
        transform: translateX(-100%);
    }

    .main-content {
        margin-left: 0;
    }

    .sidebar.active {
        transform: translateX(0);
    }
}