/* ==============================================================
   THEME: INTER BLUE (PREMIUM LIGHT)
   Inspired by clean, modern SaaS interfaces
   ============================================================== */

:root {
    /* Color Palette */
    --primary: #1e40af;
    --primary-hover: #1e3a8a;
    --primary-rgb: 30, 64, 175;
    
    --secondary: #3b82f6;
    --secondary-rgb: 59, 130, 246;
    
    --accent: #7c3aed;
    --accent-rgb: 124, 58, 237;

    /* Semantic Colors */
    --success: #10b981;
    --success-rgb: 16, 185, 129;
    --warning: #f59e0b;
    --warning-rgb: 245, 158, 11;
    --danger: #ef4444;
    --danger-rgb: 239, 68, 68;
    --info: #0ea5e9;
    --info-rgb: 14, 165, 233;

    /* Backgrounds & Surfaces */
    --bg-dark: #f8fafc;
    --bg-card: #ffffff;
    --bg-sidebar: #ffffff;
    --bg-header: #ffffff;
    
    /* Text Colors */
    --text-main: #0f172a;
    --text-muted: #475569;
    --text-white: #ffffff;
    --white: #ffffff;
    --white-rgb: 255, 255, 255;
    --black: #0f172a;
    --black-rgb: 15, 23, 42;

    /* Borders & Dividers */
    --border: #e2e8f0;
    --border-light: #f1f5f9;
    
    /* Layout & UI */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 32px;
    --radius-full: 40px;
    
    --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-premium: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* Global Adjustments for this Theme */
body {
    background-color: var(--bg-dark);
    color: var(--text-main);
}

.sidebar-user-dropdown{background-color: var(--bg-card) !important}
/* Override premium table for light theme */
.premium-table thead th {
    background: #f1f5f9;
    color: #475569;
    font-weight: 700;
}

.premium-table tbody tr:hover {
    background: #f8fafc;
}

.btn-secondary, .btn-dark {  
    background: var(--primary) !important;
    color: var(--white) !important;
    border-radius: var(--radius-full) !important;
    border: none; 
    
}

/* Button Adjustments */
.btn-primary {
    background: var(--primary);
    color: var(--white);
    border-radius: var(--radius-full);
    border: none;
}

.btn-primary:hover {
    background: var(--primary-hover) !important;
    color: var(--white) !important;
    box-shadow: 0 8px 20px rgba(var(--primary-rgb), 0.3) !important;
}

.btn-secondary {
    background: var(--white);
    color: var(--text-main);
    border: 1px solid var(--border);
    border-radius: var(--radius-full);
}

.btn-secondary:hover {
    background: #f1f5f9;
    border-color: var(--primary);
    color: var(--primary);
}

/* Sidebar Customization */
.sidebar-link.active {
    background: #eff6ff;
    color: var(--primary);
    border-right: 4px solid var(--primary);
}

.sidebar-link:hover:not(.active) {
    background: #f8fafc;
}

/* Auth Specific overrides */
.auth-wrapper {
    background: var(--bg-dark);
}

.auth-overlay {
    background: radial-gradient(circle at center, rgba(var(--primary-rgb), 0.1) 0%, rgba(var(--white-rgb), 0.8) 100%);
}

.auth-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-premium);
}

.modal-header,#modal-body,.modal-footer{ background-color: var(--white) !important;}
input:checked+.slider:before{background-color: var(--white) !important;}

.settings-footer-section,.settings-header-box{background-color:var(--white) !important}

/* ==============================================================
   THEME: INTER BLUE (PREMIUM LIGHT)
   Inspired by clean, modern SaaS interfaces
   ============================================================== */

:root {
    /* Color Palette */
    --primary: #1e40af;
    --primary-hover: #1e3a8a;
    --primary-rgb: 30, 64, 175;
    
    --secondary: #3b82f6;
    --secondary-rgb: 59, 130, 246;
    
    --accent: #7c3aed;
    --accent-rgb: 124, 58, 237;

    /* Semantic Colors */
    --success: #10b981;
    --success-rgb: 16, 185, 129;
    --warning: #f59e0b;
    --warning-rgb: 245, 158, 11;
    --danger: #ef4444;
    --danger-rgb: 239, 68, 68;
    --info: #0ea5e9;
    --info-rgb: 14, 165, 233;

    /* Backgrounds & Surfaces */
    --bg-dark: #f8fafc;
    --bg-card: #ffffff;
    --bg-sidebar: #ffffff;
    --bg-header: #ffffff;
    
    /* Text Colors */
    --text-main: #0f172a;
    --text-muted: #475569;
    --text-white: #ffffff;
    --white: #ffffff;
    --white-rgb: 255, 255, 255;
    --black: #0f172a;
    --black-rgb: 15, 23, 42;

    /* Borders & Dividers */
    --border: #e2e8f0;
    --border-light: #f1f5f9;
    
    /* Layout & UI */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 32px;
    --radius-full: 40px;
    
    --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-premium: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* Global Adjustments for this Theme */
body {
    background-color: var(--bg-dark);
    color: var(--text-main);
}

.sidebar-user-dropdown{background-color: var(--bg-card) !important}
/* Override premium table for light theme */
.premium-table thead th {
    background: #f1f5f9;
    color: #475569;
    font-weight: 700;
}

.premium-table tbody tr:hover {
    background: #f8fafc;
}

.btn-secondary, .btn-dark {  
    background: var(--primary) !important;
    color: var(--white) !important;
    border-radius: var(--radius-full) !important;
    border: none; 
    
}

/* Button Adjustments */
.btn-primary {
    background: var(--primary);
    color: var(--white);
    border-radius: var(--radius-full);
    border: none;
}

.btn-primary:hover {
    background: var(--primary-hover) !important;
    color: var(--white) !important;
    box-shadow: 0 8px 20px rgba(var(--primary-rgb), 0.3) !important;
}

.btn-secondary {
    background: var(--white);
    color: var(--text-main);
    border: 1px solid var(--border);
    border-radius: var(--radius-full);
}

.btn-secondary:hover {
    background: #f1f5f9;
    border-color: var(--primary);
    color: var(--primary);
}

/* Sidebar Customization */
.sidebar-link.active {
    background: #eff6ff;
    color: var(--primary);
    border-right: 4px solid var(--primary);
}

.sidebar-link:hover:not(.active) {
    background: #f8fafc;
}

/* Auth Specific overrides */
.auth-wrapper {
    background: var(--bg-dark);
}

.auth-overlay {
    background: radial-gradient(circle at center, rgba(var(--primary-rgb), 0.1) 0%, rgba(var(--white-rgb), 0.8) 100%);
}

.auth-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-premium);
}

/** Ajuste manual do CSS **/

.modal-header,#modal-body,.modal-footer{ background-color: var(--white) !important;}
input:checked+.slider:before{background-color: var(--white) !important;}
.settings-footer-section,.settings-header-box{background-color:var(--white) !important}
.btn-popup-action.success:hover{color:var(--white) !important}