/* ===========================
   CSS Variables & Reset
   =========================== */
:root {
    /* Color Palette */
    --primary-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --secondary-gradient: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --success-gradient: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    --warning-gradient: linear-gradient(135deg, #fa709a 0%, #fee140 100%);

    --bg-primary: #0f0f23;
    --bg-secondary: #1a1a2e;
    --bg-card: #16213e;
    --bg-card-hover: #1f2d4d;

    --text-primary: #ffffff;
    --text-secondary: #a8b2d1;
    --text-muted: #8892b0;

    --accent-blue: #4facfe;
    --accent-purple: #667eea;
    --accent-pink: #f093fb;
    --accent-green: #43e97b;
    --accent-orange: #fa709a;

    --border-color: rgba(255, 255, 255, 0.1);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.5);

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;

    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-medium: 0.3s ease;
    --transition-slow: 0.5s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
}

/* ===========================
   Container & Layout
   =========================== */
/* ===========================
   Container & Layout
   =========================== */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: var(--spacing-lg);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    gap: 6rem;
    /* Enforce large separation for footer */
}

/* ===========================
   Header
   =========================== */
.header {
    margin-bottom: var(--spacing-xl);
    text-align: center;
}

.logo-section {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-md);
    padding: var(--spacing-lg);
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
}

.logo-icon {
    font-size: 3.5rem;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }
}

.logo-title {
    font-size: 2.5rem;
    font-weight: 800;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.25rem;
}

.logo-subtitle {
    font-size: 1rem;
    color: var(--text-secondary);
    font-weight: 500;
}

/* ===========================
   Input Section
   =========================== */
.input-section {
    margin-bottom: var(--spacing-xl);
}

.form-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: var(--spacing-xl);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    transition: all var(--transition-medium);
}

.form-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.form-title {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
    color: var(--text-primary);
}

.form-description {
    color: var(--text-secondary);
    margin-bottom: var(--spacing-lg);
    font-size: 1rem;
}

.analysis-form {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-md);
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xs);
}

.form-group label {
    font-weight: 600;
    color: var(--text-secondary);
    font-size: 0.95rem;
    letter-spacing: 0.3px;
}

.form-group input {
    background: var(--bg-secondary);
    border: 2px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 0.875rem 1rem;
    color: var(--text-primary);
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
    transition: all var(--transition-fast);
}

.form-group input:focus {
    outline: none;
    border-color: var(--accent-purple);
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.form-group input::placeholder {
    color: var(--text-muted);
}

.btn-primary {
    background: var(--primary-gradient);
    color: white;
    border: none;
    border-radius: var(--radius-md);
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-sm);
    margin-top: var(--spacing-md);
    transition: all var(--transition-medium);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.6);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-icon {
    font-size: 1.3rem;
    transition: transform var(--transition-fast);
}

.btn-primary:hover .btn-icon {
    transform: translateX(4px);
}

.btn-secondary {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    padding: 1rem 1.5rem;
    border-radius: var(--radius-md);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-medium);
    font-family: 'Outfit', sans-serif;
    margin-top: var(--spacing-md);
    display: flex;
    align-items: center;
}

.btn-secondary:hover {
    border-color: var(--accent-blue);
    background: rgba(255, 255, 255, 0.05);
}

.form-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
}

/* ===========================
   Dashboard Section
   =========================== */
.dashboard-section {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
}

.hidden {
    display: none !important;
}

/* Summary Card */
.summary-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: var(--spacing-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
}

.summary-card h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: var(--spacing-md);
}

.summary-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-md);
}

.summary-item {
    display: flex;
    justify-content: space-between;
    padding: var(--spacing-sm);
    background: var(--bg-secondary);
    border-radius: var(--radius-sm);
}

.summary-label {
    color: var(--text-secondary);
    font-weight: 500;
}

.summary-value {
    color: var(--accent-blue);
    font-weight: 700;
    font-size: 1.1rem;
}

/* Badges */
.badge {
    display: inline-block;
    padding: 0.35rem 0.75rem;
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    font-weight: 600;
    transition: all var(--transition-fast);
}

.badge-api {
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
    color: #0f0f23;
    box-shadow: 0 2px 8px rgba(67, 233, 123, 0.3);
}

.badge-static {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
}

/* ===========================
   Premium Theme Overrides
   =========================== */

/* Global Premium Background */
body {
    background: #0f1020;
    /* Deeper dark blue */
    background-image: radial-gradient(circle at 10% 20%, rgba(79, 172, 254, 0.1) 0%, transparent 20%),
        radial-gradient(circle at 90% 80%, rgba(118, 75, 162, 0.1) 0%, transparent 20%);
}

/* KPI Cards - Premium Look */
.kpi-section h2,
.chart-card h2,
.regional-card h2,
.table-card h2,
.summary-card h2 {
    font-family: 'Outfit', sans-serif;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    border-left: 4px solid var(--accent-purple);
    padding-left: 1rem;
}

.kpi-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.kpi-card {
    background: linear-gradient(145deg, #1e2035 0%, #161828 100%);
    border: 1px solid rgba(255, 255, 255, 0.05);
    /* Subtle border */
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 1.5rem;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.kpi-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
    border-color: rgba(118, 75, 162, 0.5);
    /* glow effect */
}

/* Decoratiive top bar similar to reference */
.kpi-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-blue), var(--accent-purple));
    opacity: 0.8;
}

.kpi-icon {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-right: 1rem;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.2);
}

.kpi-label {
    font-family: 'Outfit', sans-serif;
    font-size: 0.9rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

.kpi-value {
    font-family: 'Outfit', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    background: linear-gradient(180deg, #fff 0%, #e0e0e0 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.kpi-status {
    font-size: 0.85rem;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.03);
    margin-top: 0.5rem;
}

/* Charts & Tables Containers */
.charts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 1.5rem;
}

.chart-card,
.regional-card,
.table-card,
.summary-card {
    background: #1a1c2e;
    /* Unified Dark Bg */
    border: 1px solid rgba(255, 255, 255, 0.03);
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.chart-container {
    background: transparent;
    /* Remove inner bg to blend */
    padding: 0;
}


.chart-card h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: var(--spacing-md);
}

.chart-container {
    position: relative;
    height: 400px;
    background: var(--bg-secondary);
    border-radius: var(--radius-sm);
    padding: var(--spacing-md);
}

/* Regional Card */
.regional-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: var(--spacing-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
}

.regional-card h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: var(--spacing-md);
}

.regional-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-md);
}

.regional-item {
    background: var(--bg-secondary);
    border-radius: var(--radius-md);
    padding: var(--spacing-md);
    border: 1px solid var(--border-color);
    transition: all var(--transition-medium);
}

.regional-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.regional-flag {
    font-size: 3rem;
    margin-bottom: var(--spacing-sm);
}

.regional-item h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
    color: var(--accent-blue);
}

.regional-item p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Table Card */
.table-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: var(--spacing-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
}

.table-card h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: var(--spacing-md);
}

.table-wrapper {
    overflow-x: auto;
    border-radius: var(--radius-sm);
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

.data-table thead {
    background: var(--primary-gradient);
    color: white;
}

.data-table th {
    padding: 1rem;
    text-align: left;
    font-weight: 600;
    font-size: 0.75rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    white-space: nowrap;
}

.data-table tbody tr {
    border-bottom: 1px solid var(--border-color);
    transition: background var(--transition-fast);
}

.data-table tbody tr:hover {
    background: var(--bg-card-hover);
}

.data-table td {
    padding: 1rem;
    color: var(--text-secondary);
}

.data-table td:first-child {
    font-weight: 600;
    color: var(--text-primary);
}

.data-table .highlight {
    color: var(--accent-orange);
    font-weight: 700;
}

/* Notes Card */
.notes-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: var(--spacing-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    border-left: 4px solid var(--accent-blue);
}

.notes-card h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
    color: var(--accent-blue);
}

.notes-card ul {
    list-style: none;
    padding-left: 0;
}

.notes-card li {
    color: var(--text-secondary);
    margin-bottom: var(--spacing-sm);
    padding-left: 1.5rem;
    position: relative;
}

.notes-card li:before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--accent-blue);
    font-weight: bold;
}

/* Loading Overlay */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 15, 35, 0.95);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    backdrop-filter: blur(4px);
}

.loading-spinner {
    width: 60px;
    height: 60px;
    border: 4px solid var(--border-color);
    border-top: 4px solid var(--accent-purple);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.loading-overlay p {
    margin-top: var(--spacing-md);
    color: var(--text-secondary);
    font-size: 1.1rem;
}

/* ===========================
   Responsive Design
   =========================== */
@media (max-width: 768px) {
    .container {
        padding: var(--spacing-sm);
    }

    .logo-title {
        font-size: 1.75rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .kpi-grid,
    .regional-grid {
        grid-template-columns: 1fr;
    }

    .chart-container {
        height: 300px;
    }

    .data-table {
        font-size: 0.75rem;
    }

    .data-table th,
    .data-table td {
        padding: 0.75rem 0.5rem;
    }
}

/* ===========================
   Utility Classes
   =========================== */
.text-success {
    color: var(--accent-green) !important;
}

.text-danger {
    color: var(--accent-orange) !important;
}


/* DATE PICKER COMPONENT */
.datepicker-container {
    position: relative;
    font-family: 'Inter', sans-serif;
    width: 100%;
}

.date-trigger {
    background: var(--bg-secondary);
    border: 2px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 0.8rem 1rem;
    color: var(--text-primary);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1rem;
    transition: all var(--transition-fast);
}

.date-trigger:hover {
    border-color: var(--accent-purple);
}

.date-overlay {
    position: absolute;
    top: 110%;
    left: 0;
    width: 600px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    display: flex;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    z-index: 9999;
    overflow: hidden;
    visibility: visible;
    opacity: 1;
    transition: all 0.2s;
}

.date-overlay.hidden {
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
}

.date-sidebar {
    width: 30%;
    background: var(--bg-secondary);
    padding: 1rem;
    border-right: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.preset-btn {
    background: transparent;
    border: none;
    color: var(--text-secondary);
    text-align: left;
    padding: 0.75rem 1rem;
    cursor: pointer;
    border-radius: var(--radius-sm);
    transition: all 0.2s;
    font-size: 0.9rem;
    font-weight: 500;
}

.preset-btn:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
}

.date-main {
    flex: 1;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.date-inputs-row {
    display: flex;
    gap: 1rem;
}

.input-col {
    flex: 1;
}

.input-col label {
    display: block;
    color: var(--text-secondary);
    font-size: 0.75rem;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    font-weight: 600;
}

.input-col input {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    padding: 0.5rem;
    border-radius: var(--radius-sm);
    width: 100%;
}

.date-actions {
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
    margin-top: 1.5rem;
    border-top: 1px solid var(--border-color);
    padding-top: 1rem;
}

.btn-cancel {
    background: transparent;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    font-weight: 600;
}

.btn-apply {
    background: var(--primary-gradient);
    color: white;
    border: none;
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 600;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

@media (max-width: 768px) {
    .date-overlay {
        width: 320px;
        flex-direction: column;
    }

    .date-sidebar {
        width: 100%;
        border-right: none;
        border-bottom: 1px solid var(--border-color);
        flex-direction: row;
        overflow-x: auto;
    }
}

/* ===========================
   DUAL PANE DATEPICKER V2
   =========================== */

.date-overlay {
    width: 680px;
    /* Wider for 2 cols */
}

.picker-split-container {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 1rem;
}

.picker-col {
    flex: 1;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 12px;
    padding: 0.5rem;
}

.picker-col-title {
    font-size: 0.7rem;
    color: var(--text-secondary);
    font-weight: 700;
    text-align: center;
    margin-bottom: 0.5rem;
    letter-spacing: 1px;
}

.picker-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    font-size: 1.5rem;
    padding-top: 2rem;
}

.calendar-header-small {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
    padding: 0 0.5rem;
}

.current-year {
    font-weight: 700;
    color: white;
}

.nav-btn-small {
    background: transparent;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    font-size: 1.2rem;
    padding: 0 0.5rem;
}

.nav-btn-small:hover {
    color: white;
}

.months-grid-small {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    /* 3 cols for compact look */
    gap: 4px;
}

.month-btn-small {
    background: transparent;
    border: 1px solid transparent;
    color: var(--text-secondary);
    font-size: 0.8rem;
    padding: 6px 0;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.1s;
}

.month-btn-small:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

/* START Selection (Blue) */
.month-btn-small.is-start {
    background: var(--accent-blue);
    color: white;
    font-weight: 700;
    box-shadow: 0 0 10px rgba(79, 172, 254, 0.4);
}

/* END Selection (Green/Teal) */
.month-btn-small.is-end {
    background: var(--accent-green);
    color: #0f172a;
    font-weight: 700;
    box-shadow: 0 0 10px rgba(16, 185, 129, 0.4);
}

/* IN RANGE (Soft Gradient) */
.month-btn-small.in-range {
    background: rgba(255, 255, 255, 0.05);
    color: white;
}

@media (max-width: 768px) {
    .date-overlay {
        width: 320px;
    }

    .picker-split-container {
        flex-direction: column;
    }

    .picker-arrow {
        transform: rotate(90deg);
        padding: 0.5rem 0;
    }
}

/* ===========================
   Datepicker Grid Styles (Missing)
   =========================== */

.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--border-color);
}

.calendar-header .current-year {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-primary);
}

.nav-btn {
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: all 0.2s;
}

.nav-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--accent-purple);
}

.months-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    /* 4 columns for 12 months */
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.month-btn {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    padding: 0.5rem;
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.2s;
    text-align: center;
}

.month-btn:hover {
    border-color: var(--accent-blue);
    color: var(--text-primary);
}

.month-btn.selected {
    background: var(--accent-blue);
    color: white;
    border-color: var(--accent-blue);
    font-weight: 700;
}

.month-btn.in-range {
    background: rgba(79, 172, 254, 0.2);
    border-color: rgba(79, 172, 254, 0.3);
    color: var(--text-primary);
}

.date-actions {
    display: flex;
    justify-content: space-between;
    /* Spread info and buttons */
    align-items: center;
}

.selection-info {
    text-align: left;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.selection-info small {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 2px;
}

.selection-info span {
    color: var(--text-primary);
    font-weight: 600;
}

.buttons-right {
    display: flex;
    gap: 1rem;
}

/* ===========================
   MeLi-Style Footer (Dark Theme)
   =========================== */
/* ===========================
   MeLi-Style Footer (Dark Theme)
   =========================== */
/* ===========================
   MeLi-Style Footer (Dark Theme)
   =========================== */
/* ===========================
   MeLi-Style Footer (Dark Theme)
   =========================== */
.main-footer {
    margin-top: auto;
    padding: 2rem 0;
    width: 100%;
    background-color: var(--bg-primary);
    border-top: 1px solid var(--border-color);
    text-align: left;
    font-family: 'Inter', sans-serif;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
    /* Subtle shadow for separation */
}

.footer-content {
    max-width: 1400px;
    /* Match container width */
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.copyright {
    color: var(--text-secondary);
    font-size: 0.85rem;
    font-weight: 400;
}

.address {
    color: var(--text-muted);
    font-size: 0.75rem;
}

@media (max-width: 768px) {
    .footer-content {
        padding: 0 var(--spacing-sm);
    }
}