:root {
    --admin-primary: #1a2e35;
    --admin-secondary: #008a4e;
    --admin-accent: #8cc63f;
    --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, var(--admin-primary) 0%, var(--admin-secondary) 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
}

/* Responsive */
@media (max-width: 768px) {
    .sidebar {
        transform: translateX(-100%);
    }

    .main-content {
        margin-left: 0;
    }

    .sidebar.active {
        transform: translateX(0);
    }
}