/* Custom overrides and utilities for Adebus Global Dashboard */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Outfit:wght@500;600;700;800;900&display=swap');

:root {
    --primary: #15803D; /* Executive Emerald Green */
    --primary-light: #16a34a;
    --primary-dark: #052e16;
    --accent: #EAB308; /* Executive Gold / Yellow */
    --accent-hover: #ca8a04;
    --accent-light: #facc15;
    --secondary: #64748B;
    --success: #10B981;
    --warning: #F59E0B;
    --danger: #EF4444;
}

body {
    font-family: 'Inter', sans-serif;
}

h1, h2, h3, h4, h5, h6, .font-header {
    font-family: 'Outfit', sans-serif;
}

/* Form Focus Override to Green & Yellow */
input:focus, select:focus, textarea:focus {
    outline: none !important;
    border-color: #EAB308 !important;
    box-shadow: 0 0 0 2px rgba(234, 179, 8, 0.2) !important;
}

/* Glassmorphism utilities */
.glass {
    background: rgba(15, 23, 42, 0.75);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(234, 179, 8, 0.15);
}

.glass-light {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(21, 128, 61, 0.15);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

::-webkit-scrollbar-track {
    background: #0f172a;
}

::-webkit-scrollbar-thumb {
    background: #166534;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #eab308;
}

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

/* Green & Yellow Theme Presets */
.btn-primary-green {
    background: linear-gradient(135deg, #15803d 0%, #166534 100%);
    color: #ffffff;
    font-weight: 700;
    transition: all 0.2s ease-in-out;
}

.btn-primary-green:hover {
    background: linear-gradient(135deg, #166534 0%, #14532d 100%);
    box-shadow: 0 4px 14px rgba(21, 128, 61, 0.4);
    transform: translateY(-1px);
}

.btn-accent-yellow {
    background: linear-gradient(135deg, #facc15 0%, #eab308 100%);
    color: #052e16;
    font-weight: 800;
    transition: all 0.2s ease-in-out;
}

.btn-accent-yellow:hover {
    background: linear-gradient(135deg, #eab308 0%, #ca8a04 100%);
    color: #000000;
    box-shadow: 0 4px 14px rgba(234, 179, 8, 0.45);
    transform: translateY(-1px);
}

.badge-gold {
    background: linear-gradient(135deg, #fef08a 0%, #eab308 100%);
    color: #422006;
    font-weight: 800;
}

.badge-emerald {
    background: linear-gradient(135deg, #dcfce7 0%, #16a34a 100%);
    color: #052e16;
    font-weight: 800;
}

.bg-emerald-gradient {
    background: linear-gradient(135deg, #052e16 0%, #15803d 50%, #166534 100%);
}

.bg-yellow-gradient {
    background: linear-gradient(135deg, #fefce8 0%, #fef08a 50%, #facc15 100%);
}