/* Admin Professional Styles */
:root {
    --sidebar-width: 280px;
    --header-height: 70px;
}

/* Custom Scrollbar for sleek look */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}
::-webkit-scrollbar-track {
    background: transparent;
}
::-webkit-scrollbar-thumb {
    background: #e2e8f0;
    border-radius: 10px;
}
.dark ::-webkit-scrollbar-thumb {
    background: #334155;
}

/* Sidebar transitions */
.sidebar-transition {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Glassmorphism effects */
.glass {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}
.dark .glass {
    background: rgba(15, 23, 42, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

/* Navigation active states */
.nav-link.active {
    background-color: #2D4628;
    color: white;
}
.nav-link.active svg {
    color: #8C7851;
}

/* Card Hover effects */
.admin-card {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.admin-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.dark .admin-card:hover {
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.4);
    border-color: rgba(45, 70, 40, 0.4);
}

/* Premium Buttons */
button, .btn {
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Status Badges refinement */
.status-badge {
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 10px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

#admin-content > * {
    animation: fadeIn 0.5s ease-out forwards;
}

/* Dark mode refinements */
.dark body {
    color: #f1f5f9;
}

.dark .bg-white {
    background-color: #111827 !important; /* Gray 900 */
}

.dark .bg-zinc-50 {
    background-color: #030712 !important; /* Slate 950 */
}

.dark .border-zinc-100, .dark .border-zinc-200 {
    border-color: #1f2937 !important; /* Gray 800 */
}

.dark .text-zinc-800 {
    color: #f8fafc !important;
}

.dark .text-zinc-500 {
    color: #94a3b8 !important;
}

/* Global Borders Refinement */
.admin-card, .bg-white, .bg-zinc-900, .bg-zinc-50, .dark .bg-zinc-900, .dark .bg-zinc-950,
input, select, textarea, table, thead, tbody, tr, td, th,
div[class*="rounded-"], div.glass {
    border: 1px solid #18181b !important; /* Light mode: Very dark borders */
}

.dark .admin-card, .dark .bg-black, .dark .bg-zinc-900, .dark .bg-zinc-950,
.dark input, .dark select, .dark textarea, .dark table, .dark thead, .dark tbody, 
.dark tr, .dark td, .dark th,
.dark div[class*="rounded-"], .dark div.glass {
    border: 1px solid rgba(255, 255, 255, 0.4) !important; /* Dark mode: Bright white borders */
}

/* Ensure specific containers follow this */
.rounded-xl, .rounded-2xl, .rounded-3xl, .rounded-\[2\.5rem\], .rounded-\[2rem\] {
    overflow: hidden;
}
