/* Oligestor CSS Style System - Premium Glassmorphic Dark Design */

:root {
    --bg-main: hsl(256, 15%, 12%);
    --bg-card: hsla(256, 15%, 15%, 0.65);
    --bg-card-hover: hsla(256, 15%, 18%, 0.75);
    --bg-sidebar: hsla(256, 20%, 10%, 0.85);
    
    --primary: hsl(150, 80%, 45%);
    --primary-hover: hsl(150, 80%, 52%);
    --primary-glow: hsla(150, 80%, 45%, 0.35);
    
    --success: hsl(142, 70%, 45%);
    --success-bg: hsla(142, 70%, 45%, 0.15);
    --success-border: hsla(142, 70%, 45%, 0.3);
    
    --warning: hsl(38, 90%, 50%);
    --warning-bg: hsla(38, 90%, 50%, 0.15);
    --warning-border: hsla(38, 90%, 50%, 0.3);
    
    --danger: hsl(12, 85%, 55%);
    --danger-bg: hsla(12, 85%, 55%, 0.15);
    --danger-border: hsla(12, 85%, 55%, 0.3);
    
    --text-primary: hsl(210, 20%, 98%);
    --text-secondary: hsl(215, 15%, 75%);
    --text-muted: hsl(215, 12%, 55%);
    
    --border-color: hsla(215, 20%, 80%, 0.08);
    --border-focus: hsla(150, 80%, 45%, 0.5);
    
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.15);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.35);
    --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.55);
    
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-theme="light"] {
    --bg-main: hsl(256, 20%, 95%);
    --bg-card: hsla(256, 20%, 100%, 0.75);
    --bg-card-hover: hsla(256, 20%, 97%, 0.85);
    --bg-sidebar: hsla(256, 25%, 90%, 0.9);
    
    --primary: hsl(150, 85%, 35%);
    --primary-hover: hsl(150, 85%, 40%);
    --primary-glow: hsla(150, 85%, 35%, 0.15);
    
    --success: hsl(142, 75%, 35%);
    --success-bg: hsla(142, 75%, 35%, 0.1);
    --success-border: hsla(142, 75%, 35%, 0.2);
    
    --warning: hsl(38, 95%, 40%);
    --warning-bg: hsla(38, 95%, 40%, 0.1);
    --warning-border: hsla(38, 95%, 40%, 0.2);
    
    --danger: hsl(12, 85%, 45%);
    --danger-bg: hsla(12, 85%, 45%, 0.1);
    --danger-border: hsla(12, 85%, 45%, 0.2);
    
    --text-primary: hsl(256, 30%, 15%);
    --text-secondary: hsl(256, 15%, 35%);
    --text-muted: hsl(256, 10%, 55%);
    
    --border-color: hsla(256, 20%, 15%, 0.08);
    --border-focus: hsla(150, 85%, 35%, 0.4);
    
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 8px 24px rgba(18, 18, 50, 0.06);
    --shadow-lg: 0 16px 48px rgba(18, 18, 50, 0.1);
}

/* Global Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Outfit', sans-serif;
    outline: none;
    -webkit-tap-highlight-color: transparent;
}

html, body {
    overflow: hidden;
    width: 100%;
    max-width: 100%;
    height: 100%;
    position: fixed;
    overscroll-behavior: none;
}

body {
    background-color: var(--bg-main);
    color: var(--text-primary);
    min-height: 100vh;
    position: relative;
}



/* Scrollbar Customization */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}
::-webkit-scrollbar-track {
    background: transparent;
}
::-webkit-scrollbar-thumb {
    background: hsla(215, 15%, 75%, 0.15);
    border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
    background: hsla(250, 85%, 65%, 0.4);
}

/* Glassmorphism styling helper */
.glassmorphism {
    background: var(--bg-card);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    box-shadow: var(--shadow-md);
}

/* Loading Screen */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--bg-main);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: opacity var(--transition-normal);
}
.loading-screen.hidden {
    opacity: 0;
    pointer-events: none;
}
.spinner {
    width: 50px;
    height: 50px;
    border: 4px solid rgba(255, 255, 255, 0.1);
    border-top: 4px solid var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 20px;
}
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    border: 1px solid transparent;
    transition: all var(--transition-fast);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), hsl(170, 80%, 45%));
    color: #fff;
    box-shadow: 0 4px 15px var(--primary-glow);
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px hsla(150, 80%, 45%, 0.5);
}
.btn-primary:active {
    transform: translateY(0);
}

.btn-secondary {
    background: hsla(215, 15%, 75%, 0.1);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}
.btn-secondary:hover {
    background: hsla(215, 15%, 75%, 0.18);
    border-color: hsla(215, 15%, 75%, 0.25);
}

.btn-sm {
    padding: 6px 12px;
    font-size: 0.85rem;
    border-radius: 8px;
}

.btn-block {
    width: 100%;
}

.btn-icon {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    background: hsla(215, 15%, 75%, 0.05);
    color: var(--text-primary);
    cursor: pointer;
    transition: all var(--transition-fast);
}
.btn-icon:hover {
    background: hsla(150, 80%, 45%, 0.15);
    border-color: var(--primary);
    color: var(--primary-hover);
}

/* Badges */
.badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.badge-admin {
    background: var(--primary-glow);
    color: var(--primary-hover);
    border: 1px solid var(--border-focus);
}
.badge-user {
    background: hsla(215, 15%, 75%, 0.1);
    color: var(--text-secondary);
    border: 1px solid var(--border-color);
}

/* Auth Pages (Login & Setup) */
.auth-wrapper {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background-color: #07080a;
    position: relative;
    overflow: hidden;
    /* Premium modern dark background with fine diagonal texture grid and central glowing aura */
    background-image: 
        radial-gradient(circle at 50% 50%, hsla(150, 80%, 45%, 0.15) 0%, transparent 60%),
        repeating-linear-gradient(45deg, hsla(150, 80%, 45%, 0.02) 0px, hsla(150, 80%, 45%, 0.02) 1px, transparent 1px, transparent 6px),
        repeating-linear-gradient(-45deg, rgba(255, 255, 255, 0.015) 0px, rgba(255, 255, 255, 0.015) 1px, transparent 1px, transparent 6px),
        radial-gradient(rgba(255, 255, 255, 0.025) 1.5px, transparent 1.5px);
    background-size: 100% 100%, 100% 100%, 100% 100%, 16px 16px;
}
.auth-card {
    width: 100%;
    max-width: 440px;
    padding: 40px;
    border-radius: 24px;
}
.auth-header {
    text-align: center;
    margin-bottom: 30px;
}
.auth-logo {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 15px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 80px;
    height: 80px;
    background: var(--primary-glow);
    border-radius: 50%;
    border: 1px solid var(--border-focus);
}
.auth-header h2 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 8px;
}
.auth-header p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* Premium Modern Split Auth Card */
.auth-split-card {
    display: flex;
    width: 100%;
    max-width: 860px;
    height: 560px;
    border-radius: 28px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-lg);
    background: hsla(256, 15%, 8%, 0.35);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
}
.auth-visual {
    flex: 1.1;
    background: radial-gradient(circle at top left, hsla(150, 80%, 45%, 0.12), transparent 60%),
                radial-gradient(circle at bottom right, hsla(170, 80%, 45%, 0.08), transparent 70%),
                hsl(256, 20%, 6%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    text-align: center;
    border-right: 1px solid var(--border-color);
}
.auth-visual-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}
.auth-wallet-img {
    width: 220px;
    height: auto;
    mix-blend-mode: screen;
    opacity: 0.85;
    animation: authWalletFloat 6s ease-in-out infinite;
    mask-image: radial-gradient(circle, rgba(0,0,0,1) 45%, rgba(0,0,0,0) 90%);
    -webkit-mask-image: radial-gradient(circle, rgba(0,0,0,1) 45%, rgba(0,0,0,0) 90%);
}
@keyframes authWalletFloat {
    0% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-12px) rotate(2deg); }
    100% { transform: translateY(0px) rotate(0deg); }
}
.auth-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.9rem;
    font-weight: 700;
    color: #fff;
    margin-top: 10px;
}
.auth-brand i {
    color: var(--primary);
}
.auth-subtitle {
    color: var(--text-muted);
    font-size: 0.88rem;
    max-width: 250px;
    line-height: 1.45;
}
.auth-form-side {
    flex: 1;
    padding: 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: hsla(256, 15%, 10%, 0.25);
}
.auth-form-container {
    width: 100%;
}
.auth-form-header {
    margin-bottom: 35px;
    text-align: center;
}
.auth-form-header h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 6px;
    letter-spacing: -0.5px;
}
.auth-form-header p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}
.auth-form-modern {
    display: flex;
    flex-direction: column;
    gap: 22px;
}
.form-group-modern {
    display: flex;
    flex-direction: column;
    align-items: center;
    border-bottom: 1.5px solid var(--border-color);
    padding: 8px 0;
    transition: border-color var(--transition-fast);
}
.form-group-modern:focus-within {
    border-color: var(--primary);
}
.form-group-modern label {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    color: var(--text-secondary);
    margin-bottom: 6px;
    text-align: center;
    width: 100%;
}
.form-group-modern input {
    width: 100%;
    border: none !important;
    background: transparent !important;
    padding: 6px 0 !important;
    font-size: 0.98rem !important;
    color: #fff !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    outline: none !important;
    text-align: center;
}
.form-group-modern input::placeholder {
    color: var(--text-muted);
    opacity: 0.6;
}
.form-group-modern input[readonly] {
    color: var(--text-muted) !important;
    cursor: not-allowed;
}
.btn-modern {
    padding: 14px 20px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 12px;
    margin-top: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 80%;
    max-width: 240px;
    margin-left: auto;
    margin-right: auto;
}


.auth-form .form-group {
    margin-bottom: 22px;
}
.form-group label {
    display: block;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    color: var(--text-secondary);
    margin-bottom: 8px;
    font-weight: 600;
}
.form-group label i {
    margin-right: 6px;
    color: var(--primary);
}
.form-group input, .form-group select, .form-group textarea {
    width: 100%;
    padding: 12px 16px;
    background: hsla(224, 25%, 6%, 0.45);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    color: var(--text-primary);
    font-size: 0.96rem;
    font-weight: 500;
    transition: border-color var(--transition-fast), background-color var(--transition-fast), box-shadow var(--transition-fast);
}
.form-group input:hover, .form-group select:hover, .form-group textarea:hover {
    background: hsla(224, 25%, 10%, 0.6);
    border-color: hsla(215, 15%, 75%, 0.2);
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-glow);
    background: hsla(224, 25%, 4%, 0.8);
}
.form-group input[readonly] {
    background: hsla(215, 20%, 8%, 0.3);
    color: var(--text-muted);
    cursor: not-allowed;
}
.form-help {
    display: block;
    margin-top: 6px;
    font-size: 0.78rem;
    color: var(--text-muted);
}

/* Animations */
.animate-fade-in {
    animation: fadeIn 0.45s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.animate-scale-up {
    animation: scaleUp 0.3s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}
@keyframes scaleUp {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}

/* APP LAYOUT */
.app-layout {
    display: grid;
    grid-template-columns: 260px 1fr;
    min-height: 100vh;
}

/* SIDEBAR */
.sidebar {
    background: var(--bg-sidebar);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-right: 1px solid var(--border-color);
    padding: 24px;
    display: flex;
    flex-direction: column;
    height: 100vh;
    height: 100dvh;
    position: sticky;
    top: 0;
    z-index: 100;
    overflow-y: auto;
    scrollbar-width: thin;
}
.sidebar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 30px;
}
.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.4rem;
    font-weight: 800;
    letter-spacing: 0.5px;
    color: #fff;
}
.logo-icon {
    color: var(--primary);
    font-size: 1.6rem;
}
.mobile-close-btn {
    display: none;
    background: transparent;
    border: none;
    color: var(--text-primary);
    font-size: 1.4rem;
    cursor: pointer;
}
.sidebar-user {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px;
    border-radius: 12px;
    background: hsla(215, 15%, 75%, 0.04);
    border: 1px solid var(--border-color);
    margin-bottom: 24px;
}
.user-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), hsl(170, 80%, 50%));
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 700;
    font-size: 1.05rem;
    box-shadow: 0 2px 8px var(--primary-glow);
}
.user-details h4 {
    font-size: 0.95rem;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 130px;
}
.user-details span {
    font-size: 0.7rem;
    margin-top: 2px;
}

.sidebar-nav {
    flex-grow: 1;
}
.sidebar-nav ul {
    list-style: none;
}
.nav-item {
    margin-bottom: 6px;
}
.nav-item a {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 16px;
    color: var(--text-secondary);
    text-decoration: none;
    border-radius: 10px;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all var(--transition-fast);
}
.nav-item i {
    font-size: 1.1rem;
    width: 20px;
}
.nav-item:hover a, .nav-item.active a {
    background: var(--primary-glow);
    color: #fff;
    font-weight: 600;
}
.nav-item.active a {
    border: 1px solid var(--border-focus);
}
.sidebar-footer {
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}
.btn-logout {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    padding: 10px 16px;
    border-radius: 10px;
    transition: all var(--transition-fast);
}
.btn-logout:hover {
    color: var(--danger);
    background: var(--danger-bg);
}

/* MAIN CONTENT */
.main-content {
    padding: 40px;
    overflow-y: auto;
    overflow-x: hidden;
    height: 100vh;
}

.content-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
}
.header-left {
    display: flex;
    align-items: center;
    gap: 16px;
}
.mobile-menu-btn {
    display: none;
    background: transparent;
    border: none;
    color: var(--text-primary);
    font-size: 1.4rem;
    cursor: pointer;
}
.btn-theme-toggle {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.1rem;
    transition: all var(--transition-fast);
}
.btn-theme-toggle:hover {
    background: var(--bg-card-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}
.header-right {
    display: flex;
    align-items: center;
    gap: 12px;
}
.content-header h1 {
    font-size: 1.85rem;
    font-weight: 800;
}
.subtitle-date {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-top: 4px;
}


/* Content Views switching */
.content-section {
    display: none;
}
.content-section.active {
    display: block;
}

/* DASHBOARD VIEW */
/* Metrics Grid */
.metrics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}
.metric-card {
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 140px;
    transition: transform var(--transition-fast);
}
.metric-card:hover {
    transform: translateY(-4px);
    background: var(--bg-card-hover);
}
.metric-header {
    display: flex;
    justify-content: space-between;
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.9rem;
}
.metric-header i {
    font-size: 1.2rem;
}
.metric-value {
    font-size: 1.8rem;
    font-weight: 800;
    margin: 10px 0;
}
.metric-footer {
    font-size: 0.78rem;
    color: var(--text-muted);
    font-weight: 500;
}

/* Theme accent metrics */
.metric-card.total i { color: var(--primary); }
.metric-card.paid i { color: var(--success); }
.metric-card.paid { border-left: 4px solid var(--success); }
.metric-card.pending i { color: var(--warning); }
.metric-card.pending { border-left: 4px solid var(--warning); }
.metric-card.overdue i { color: var(--danger); }
.metric-card.overdue { border-left: 4px solid var(--danger); }

/* Dashboard layout grid */
.dashboard-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 25px;
    margin-bottom: 30px;
}
.dashboard-col {
    padding: 24px;
    min-height: 320px;
    display: flex;
    flex-direction: column;
    overflow-x: auto;
    max-width: 100%;
}
.col-header {
    margin-bottom: 20px;
}
.col-header h3 {
    font-size: 1.15rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Alerts List */
.alerts-list {
    flex-grow: 1;
    overflow-y: auto;
    max-height: 280px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding-right: 4px;
}
.alert-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 18px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    background: hsla(215, 15%, 75%, 0.02);
    transition: transform var(--transition-fast);
}
.alert-item:hover {
    transform: translateX(4px);
    background: hsla(215, 15%, 75%, 0.05);
}
.alert-info {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
    min-width: 0;
}
.alert-icon {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}
.alert-icon.overdue {
    background: var(--danger-bg);
    color: var(--danger);
    border: 1px solid var(--danger-border);
}
.alert-icon.upcoming {
    background: var(--warning-bg);
    color: var(--warning);
    border: 1px solid var(--warning-border);
}
.alert-text {
    flex: 1;
    min-width: 0;
}
.alert-text h4 {
    font-size: 0.95rem;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.alert-text p {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.alert-action {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}
.alert-value {
    font-weight: 700;
    font-size: 0.98rem;
}
.empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    text-align: center;
    color: var(--text-muted);
    padding: 40px 20px;
    height: 100%;
}
.empty-state i {
    font-size: 2.2rem;
    color: hsla(215, 15%, 75%, 0.2);
}
.empty-state p {
    font-size: 0.9rem;
    max-width: 250px;
}

/* Chart */
.chart-container {
    width: 100%;
    height: 240px;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Recent Bills Card */
.recent-bills-card, .bills-list-card {
    padding: 24px;
    margin-bottom: 30px;
}
.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}
.card-header h3 {
    font-size: 1.15rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Custom Table */
.table-responsive {
    width: 100%;
    overflow-x: auto;
}
.data-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}
.data-table th, .data-table td {
    padding: 16px 20px;
    border-bottom: 1px solid var(--border-color);
    font-size: 0.92rem;
}
.data-table th {
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    font-size: 0.78rem;
    letter-spacing: 0.5px;
}
.data-table tbody tr {
    transition: background-color var(--transition-fast);
}
.data-table tbody tr:hover {
    background-color: hsla(215, 15%, 75%, 0.02);
}
.data-table tbody tr:last-child td {
    border-bottom: none;
}
.td-name {
    font-weight: 600;
    color: #fff;
}
.td-amount {
    font-weight: 700;
}
.td-date {
    font-weight: 500;
    color: var(--text-secondary);
}
.td-category {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: 6px;
    background: hsla(215, 15%, 75%, 0.06);
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-secondary);
}
.td-responsible {
    font-weight: 500;
}
.td-actions {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
}

/* Status toggler UI */
.status-pill {
    cursor: pointer;
    font-size: 0.78rem;
    padding: 4px 12px;
    border-radius: 20px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border: 1px solid transparent;
    transition: all var(--transition-fast);
}
.status-pill.paid {
    background: var(--success-bg);
    color: var(--success);
    border-color: var(--success-border);
}
.status-pill.paid:hover {
    background: var(--danger-bg);
    color: var(--danger);
    border-color: var(--danger-border);
}
.status-pill.pending {
    background: var(--warning-bg);
    color: var(--warning);
    border-color: var(--warning-border);
}
.status-pill.pending:hover {
    background: var(--success-bg);
    color: var(--success);
    border-color: var(--success-border);
}
.status-pill.overdue {
    background: var(--danger-bg);
    color: var(--danger);
    border-color: var(--danger-border);
}
.status-pill.overdue:hover {
    background: var(--success-bg);
    color: var(--success);
    border-color: var(--success-border);
}

/* BILLS VIEW TOOLBAR */
.toolbar {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    padding: 16px 24px;
    margin-bottom: 25px;
}
.search-box {
    position: relative;
    width: 280px;
}
.search-box i {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
}
.search-box input {
    width: 100%;
    padding: 10px 16px 10px 40px;
    background: hsla(224, 25%, 8%, 0.4);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    color: var(--text-primary);
    font-size: 0.9rem;
    transition: all var(--transition-fast);
}
.search-box input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 8px var(--primary-glow);
}
.filter-group {
    display: flex;
    background: hsla(224, 25%, 8%, 0.4);
    border: 1px solid var(--border-color);
    padding: 4px;
    border-radius: 10px;
    gap: 4px;
}
.btn-filter {
    background: transparent;
    border: none;
    padding: 8px 14px;
    color: var(--text-secondary);
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: 6px;
    cursor: pointer;
    transition: all var(--transition-fast);
}
.btn-filter:hover {
    color: #fff;
    background: hsla(215, 15%, 75%, 0.05);
}
.btn-filter.active {
    background: var(--primary);
    color: #fff;
    box-shadow: var(--shadow-sm);
}
.date-filter-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: hsla(150, 80%, 45%, 0.15);
    border: 1px solid var(--primary);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary);
    transition: all var(--transition-fast);
}
.btn-clear-date {
    background: transparent;
    border: none;
    color: var(--primary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2px;
    border-radius: 50%;
    transition: all var(--transition-fast);
}
.btn-clear-date:hover {
    background: var(--primary);
    color: #fff;
}
.month-selector {
    display: flex;
    align-items: center;
    gap: 12px;
}
.month-selector span {
    font-weight: 600;
    font-size: 1rem;
    min-width: 140px;
    text-align: center;
}

/* CALENDAR VIEW */
.calendar-container {
    padding: 24px;
    margin-bottom: 25px;
}
.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 24px;
}
.calendar-month-nav {
    display: flex;
    align-items: center;
    gap: 15px;
}
.calendar-month-nav h3 {
    font-size: 1.25rem;
    font-weight: 700;
    min-width: 150px;
    text-align: center;
}
.calendar-legend {
    display: flex;
    gap: 15px;
}
.legend-item {
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 6px;
}
.dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
}
.paid-dot { background-color: var(--success); }
.pending-dot { background-color: var(--warning); }
.overdue-dot { background-color: var(--danger); }

.calendar-grid-header {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    text-align: center;
    margin-bottom: 10px;
    font-weight: 600;
    color: var(--text-muted);
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 8px;
}
.calendar-day {
    aspect-ratio: 1.15;
    background: hsla(215, 15%, 75%, 0.015);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 8px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
    transition: all var(--transition-fast);
}
.calendar-day:hover {
    background: hsla(215, 15%, 75%, 0.05);
    border-color: hsla(215, 15%, 75%, 0.15);
}
.calendar-day.empty {
    visibility: hidden;
    pointer-events: none;
}
.calendar-day.today {
    border-color: var(--primary);
    background: var(--primary-glow);
}
.calendar-day-number {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-secondary);
}
.calendar-day.today .calendar-day-number {
    color: #fff;
    font-weight: 700;
}
.calendar-day-dots {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin-top: 4px;
}
.calendar-day-dots .dot {
    width: 6px;
    height: 6px;
}
.calendar-day-amount {
    font-size: 0.75rem;
    font-weight: 700;
    align-self: flex-end;
    margin-top: auto;
    color: var(--text-primary);
}

.calendar-details-card {
    padding: 24px;
}
.calendar-details-card h4 {
    margin-bottom: 15px;
    font-weight: 700;
    font-size: 1.05rem;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 8px;
}
.day-bill-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    border-radius: 10px;
    background: hsla(215, 15%, 75%, 0.02);
    border: 1px solid var(--border-color);
    margin-bottom: 8px;
}
.day-bill-info {
    display: flex;
    align-items: center;
    gap: 12px;
}
.day-bill-indicator {
    width: 4px;
    height: 24px;
    border-radius: 2px;
}
.day-bill-indicator.paid { background-color: var(--success); }
.day-bill-indicator.pending { background-color: var(--warning); }
.day-bill-indicator.overdue { background-color: var(--danger); }

/* USERS VIEW */
.admin-grid {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 25px;
}
.admin-card {
    padding: 24px;
}
.admin-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 15px;
}
.mt-2 { margin-top: 15px; }

/* SETTINGS VIEW */
.settings-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 25px;
}
.settings-card {
    padding: 24px;
}
.settings-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 15px;
}
.profile-info-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.profile-item {
    display: flex;
    justify-content: space-between;
    padding: 12px 16px;
    background: hsla(215, 15%, 75%, 0.02);
    border: 1px solid var(--border-color);
    border-radius: 10px;
}
.profile-item .label {
    color: var(--text-secondary);
    font-weight: 500;
}
.profile-item .value {
    font-weight: 600;
}
.backup-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.inline-block { display: inline-block; }
.cursor-pointer { cursor: pointer; }

/* MODALS */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(4, 6, 12, 0.7);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    transition: opacity var(--transition-fast);
}
.modal-card {
    width: 100%;
    max-width: 580px;
    padding: 30px;
    border-radius: 20px;
    max-height: 90vh;
    overflow-y: auto;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
}
.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}
.modal-header h3 {
    font-size: 1.35rem;
    font-weight: 700;
}
.modal-close {
    background: transparent;
    border: none;
    color: var(--text-secondary);
    font-size: 1.4rem;
    cursor: pointer;
    transition: color var(--transition-fast);
}
.modal-close:hover {
    color: var(--danger);
}
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    margin-bottom: 18px;
    width: 100%;
    box-sizing: border-box;
}
.form-group {
    min-width: 0;
    box-sizing: border-box;
    margin-bottom: 18px;
}
.form-row .form-group {
    margin-bottom: 0;
}
.form-group input,
.form-group select,
.form-group textarea {
    max-width: 100%;
    box-sizing: border-box;
}
.modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 30px;
}

/* Toast System styling */
.toast-container {
    position: fixed;
    bottom: 25px;
    right: 25px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.toast {
    min-width: 280px;
    max-width: 380px;
    padding: 14px 20px;
    border-radius: 12px;
    color: #fff;
    font-size: 0.92rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: var(--shadow-md);
    animation: toastIn 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}
.toast.success {
    background: linear-gradient(135deg, hsl(142, 70%, 40%), hsl(142, 60%, 30%));
    border: 1px solid var(--success-border);
}
.toast.error {
    background: linear-gradient(135deg, hsl(12, 80%, 50%), hsl(12, 70%, 40%));
    border: 1px solid var(--danger-border);
}
@keyframes toastIn {
    from { opacity: 0; transform: translateY(30px) scale(0.9); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

/* Visibility classes */
.hidden {
    display: none !important;
}

/* RESPONSIVE DESIGN */
@media (max-width: 1024px) {
    .app-layout {
        grid-template-columns: 1fr;
    }
    
    .sidebar {
        position: fixed;
        left: -260px;
        top: 0;
        bottom: 0;
        width: 260px;
        transition: left var(--transition-normal);
        box-shadow: var(--shadow-lg);
        padding-bottom: calc(24px + env(safe-area-inset-bottom, 20px));
    }
    .sidebar.open {
        left: 0;
    }
    .mobile-close-btn {
        display: block;
    }
    .mobile-menu-btn {
        display: block;
    }
    .main-content {
        padding: calc(env(safe-area-inset-top, 20px) + 24px) 20px 20px 20px;
    }
}

@media (max-width: 768px) {
    .auth-wrapper {
        padding: 0 !important;
        overflow-y: auto;
    }
    .auth-split-card {
        flex-direction: column;
        min-height: 100vh;
        min-height: 100dvh;
        width: 100%;
        max-width: 100%;
        border-radius: 0;
        border: none;
        margin: 0;
        box-shadow: none;
        background: hsl(256, 20%, 6%);
    }
    .auth-visual {
        display: none;
    }
    .auth-form-side {
        padding: calc(20px + env(safe-area-inset-top, 16px)) 24px calc(20px + env(safe-area-inset-bottom, 16px)) 24px;
        min-height: 100vh;
        min-height: 100dvh;
        width: 100%;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        background: transparent;
        box-sizing: border-box;
    }
    .auth-form-container {
        width: 100%;
        margin: auto 0;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
    .auth-form-header {
        margin-bottom: 25px;
        text-align: center;
    }
    .auth-form-header h2::before {
        content: "\f24e";
        font-family: "Font Awesome 6 Free";
        font-weight: 900;
        display: block;
        font-size: 2.5rem;
        color: var(--primary);
        margin-bottom: 15px;
        text-shadow: 0 0 10px var(--primary-glow);
    }
    .form-group-modern label {
        font-size: 0.78rem;
    }
    .dashboard-grid {
        grid-template-columns: 1fr;
    }
    .admin-grid {
        grid-template-columns: 1fr;
    }
    .form-row {
        grid-template-columns: 1fr;
        gap: 18px;
        margin-bottom: 18px;
    }
    .toolbar {
        flex-direction: column;
        align-items: stretch;
    }
    .content-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
        padding-bottom: 15px;
        padding-top: 4px;
    }
    .header-right {
        width: 100%;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .content-header h1 {
        font-size: 1.4rem;
    }
    .subtitle-date {
        font-size: 0.8rem;
    }
    .search-box {
        width: 100%;
    }
    .filter-group {
        justify-content: space-between;
    }
    .btn-filter {
        flex-grow: 1;
        padding: 8px 4px;
        font-size: 0.78rem;
    }
    .month-selector {
        justify-content: center;
    }
    .calendar-container {
        padding: 12px;
    }
    .calendar-header {
        flex-direction: column;
        align-items: center;
        gap: 12px;
        margin-bottom: 16px;
    }
    .calendar-legend {
        justify-content: center;
        width: 100%;
        flex-wrap: wrap;
        gap: 10px;
    }
    .calendar-grid {
        gap: 4px;
    }
    .calendar-day {
        aspect-ratio: 1;
        padding: 4px;
        border-radius: 8px;
        min-height: 44px;
        justify-content: flex-start;
        align-items: center;
    }
    .calendar-day-number {
        font-size: 0.85rem;
        text-align: center;
        width: 100%;
    }
    .calendar-day-dots {
        justify-content: center;
        margin-top: 2px;
        width: 100%;
    }
    .calendar-day-amount {
        display: none; /* Oculta o valor de texto para não quebrar a grade no celular */
    }

    /* Mobile Table-to-Cards Layout */
    .table-responsive {
        overflow-x: visible; /* No need to scroll horizontally when we have cards */
    }
    .data-table, 
    .data-table thead, 
    .data-table tbody, 
    .data-table tr, 
    .data-table th, 
    .data-table td {
        display: block;
    }
    
    .data-table thead {
        display: none;
    }
    
    .data-table tbody tr {
        background: var(--bg-card);
        backdrop-filter: blur(14px);
        -webkit-backdrop-filter: blur(14px);
        border: 1px solid var(--border-color);
        border-radius: 16px;
        padding: 16px;
        margin-bottom: 16px;
        box-shadow: var(--shadow-sm);
        transition: transform var(--transition-fast), box-shadow var(--transition-fast);
        box-sizing: border-box;
    }
    
    .data-table tbody tr:hover {
        transform: translateY(-2px);
        box-shadow: var(--shadow-md);
        background: var(--bg-card);
    }

    .data-table td {
        border-bottom: none;
        padding: 8px 0;
        display: flex;
        justify-content: space-between;
        align-items: center;
        font-size: 0.88rem;
        box-sizing: border-box;
    }
    
    .data-table td.td-name {
        display: block;
        border-bottom: 1px solid var(--border-color);
        margin-bottom: 8px;
        padding-bottom: 8px;
    }
    
    .data-table td.td-name div {
        font-size: 1.05rem;
        font-weight: 700;
        color: #fff;
    }
    
    [data-theme="light"] .data-table td.td-name div {
        color: var(--text-main);
    }
    
    .data-table td.td-name::before {
        content: none;
    }
    
    .data-table td::before {
        content: attr(data-label);
        font-weight: 600;
        color: var(--text-secondary);
        font-size: 0.8rem;
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }

    .data-table td.td-actions {
        justify-content: flex-end;
        gap: 12px;
        border-top: 1px solid var(--border-color);
        margin-top: 8px;
        padding-top: 12px;
    }
    
    .data-table td.td-actions::before {
        content: none;
    }
}

@media (max-width: 480px) {
    /* No mobile, o modal vira tela cheia fixada nos 4 cantos */
    .modal-overlay {
        padding: 0;
        background: rgba(0, 0, 0, 0.85);
    }
    .modal-card {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        width: 100%;
        max-width: 100%;
        height: 100%;
        max-height: 100%;
        margin: 0;
        border-radius: 0;
        border: none;
        padding-top: calc(env(safe-area-inset-top, 20px) + 20px);
        padding-left: 20px;
        padding-right: 20px;
        padding-bottom: calc(env(safe-area-inset-bottom, 20px) + 10px);
        background: var(--bg-main);
        overflow-y: auto;
        overflow-x: hidden;
        -webkit-overflow-scrolling: touch;
        box-sizing: border-box;
    }
    /* No mobile, campos lado a lado viram coluna única */
    .form-row {
        grid-template-columns: 1fr;
        gap: 14px;
        margin-bottom: 14px;
    }
    .modal-footer {
        flex-direction: column;
        gap: 10px;
        margin-top: 20px;
    }
    .modal-footer .btn {
        width: 100%;
    }
}

/* SaaS Management Badges and Classes */
.badge-active {
    background: var(--success-bg) !important;
    color: var(--success) !important;
    border: 1px solid var(--success-border) !important;
}

.badge-suspended {
    background: var(--danger-bg) !important;
    color: var(--danger) !important;
    border: 1px solid var(--danger-border) !important;
}

.flex-between {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#tenant-form hr {
    border: 0;
    border-top: 1px solid var(--border-color);
    margin: 15px 0;
}

/* Custom Tags and Categories Styles */
.tag-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: hsla(150, 80%, 45%, 0.15);
    border: 1px solid hsla(150, 80%, 45%, 0.3);
    color: var(--primary);
    padding: 3px 8px;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 600;
}
.tag-chip .remove-tag {
    cursor: pointer;
    font-size: 0.75rem;
    opacity: 0.7;
    transition: opacity var(--transition-fast);
}
.tag-chip .remove-tag:hover {
    opacity: 1;
}

.table-tag {
    display: inline-block;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-secondary);
    padding: 1px 6px;
    border-radius: 4px;
    font-size: 0.72rem;
    font-weight: 500;
    margin-right: 4px;
    margin-top: 2px;
}

[data-theme="light"] .table-tag {
    background: rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.08);
    color: var(--text-secondary);
}

.custom-category-item, .budget-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    padding: 8px 12px;
    border-radius: 8px;
    transition: background var(--transition-fast);
}
.custom-category-item:hover, .budget-item:hover {
    background: rgba(255, 255, 255, 0.06);
}

[data-theme="light"] .custom-category-item, [data-theme="light"] .budget-item {
    background: rgba(0, 0, 0, 0.02);
}
[data-theme="light"] .custom-category-item:hover, [data-theme="light"] .budget-item:hover {
    background: rgba(0, 0, 0, 0.04);
}

.btn-delete-icon {
    background: transparent;
    border: none;
    color: var(--danger);
    cursor: pointer;
    font-size: 0.95rem;
    padding: 4px;
    border-radius: 4px;
    transition: background var(--transition-fast);
}
.btn-delete-icon:hover {
    background: var(--danger-bg);
}

.category-icon-emoji {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
}

.budget-progress-container {
    margin-top: 15px;
}
.budget-progress-bar-wrapper {
    width: 100%;
    height: 8px;
    background: rgba(255,255,255,0.08);
    border-radius: 4px;
    margin-top: 6px;
    overflow: hidden;
}
[data-theme="light"] .budget-progress-bar-wrapper {
    background: rgba(0,0,0,0.08);
}
.budget-progress-bar {
    height: 100%;
    border-radius: 4px;
    transition: width var(--transition-normal);
}

/* Privacy Mode */
body.privacy-mode .metric-value,
body.privacy-mode .data-table td:nth-child(2), /* Valor */
body.privacy-mode .data-table td.td-actions::before /* Mobile cards value if needed */ {
    filter: blur(6px);
    opacity: 0.7;
    transition: filter 0.3s ease, opacity 0.3s ease;
    user-select: none;
}

body.privacy-mode .metric-value:hover,
body.privacy-mode .data-table td:nth-child(2):hover {
    filter: blur(0px);
    opacity: 1;
}

/* Modern Empty State */
.empty-state-modern {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 40px 20px;
    color: var(--text-secondary);
    background: rgba(255, 255, 255, 0.02);
    border-radius: 16px;
    border: 1px dashed var(--border-color);
    margin: 20px 0;
}
.empty-state-modern i {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 15px;
    opacity: 0.8;
}
.empty-state-modern h4 {
    font-size: 1.2rem;
    color: var(--text-main);
    margin-bottom: 8px;
}
.empty-state-modern p {
    font-size: 0.95rem;
    max-width: 350px;
    margin-bottom: 20px;
}
[data-theme="light"] .empty-state-modern {
    background: rgba(0, 0, 0, 0.02);
}

/* Driver.js Customizations for Oligestor */
.driver-popover {
    font-family: 'Outfit', sans-serif !important;
    border-radius: 16px !important;
    background: var(--bg-card) !important;
    color: var(--text-main) !important;
    border: 1px solid var(--border-color) !important;
    box-shadow: var(--shadow-lg) !important;
    backdrop-filter: blur(14px) !important;
    -webkit-backdrop-filter: blur(14px) !important;
}
.driver-popover-title {
    font-size: 1.15rem !important;
    font-weight: 700 !important;
    color: var(--primary) !important;
    margin-bottom: 8px !important;
}
.driver-popover-description {
    font-size: 0.9rem !important;
    color: var(--text-secondary) !important;
    line-height: 1.4 !important;
}
.driver-popover-footer button {
    font-family: 'Outfit', sans-serif !important;
    border-radius: 8px !important;
    padding: 6px 12px !important;
    font-weight: 600 !important;
}
.driver-popover-next-btn {
    background-color: var(--primary) !important;
    color: white !important;
    text-shadow: none !important;
}
.driver-popover-prev-btn, .driver-popover-close-btn {
    color: var(--text-secondary) !important;
}
