:root {
    /* Color Palette - Updated to Match Screenshots */
    --primary-main: #8b5cf6;
    /* Violet */
    --primary-dark: #7c3aed;
    /* Darker Violet */
    --primary-light: #a78bfa;
    /* Lighter Violet */
    --accent-pink: #f472b6;

    --bg-body: #f8fafc;
    /* Light aesthetic background instead of dark for login/dashboard base */
    --bg-card: #ffffff;

    --text-main: #1f2937;
    --text-light: #f3f4f6;
    --text-muted: #9ca3af;

    --radius-lg: 24px;
    --radius-md: 16px;

    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-glow: 0 0 20px rgba(139, 92, 246, 0.3);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Outfit', sans-serif;
}

body {
    background-color: var(--bg-body);
    color: var(--text-light);
    /* Default text white on dark bg */
    min-height: 100vh;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Outfit', sans-serif;
}

body {
    background-color: var(--bg-body);
    color: var(--text-main);
    min-height: 100vh;
}

/* --- Banner Animation --- */
@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }

    100% {
        transform: translateY(0px);
    }
}

.floating-anim {
    animation: float 4s ease-in-out infinite;
    will-change: transform;
}

/* Login Page Styles */
.login-body {
    display: flex;
    justify-content: center;
    align-items: center;
    background: #f1f5f9;
    /* Clean light background */
    min-height: 100vh;
    position: relative;
    overflow: hidden;
}

/* Abstract Background Shapes */
.login-body::before {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--primary-light) 0%, transparent 70%);
    opacity: 0.15;
    top: -100px;
    left: -100px;
}

.login-body::after {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, var(--accent-pink) 0%, transparent 70%);
    opacity: 0.15;
    bottom: -100px;
    right: -100px;
}

.login-container {
    width: 100%;
    max-width: 400px;
    padding: 20px;
    z-index: 10;
}

.login-card {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md), var(--shadow-glow);
    border: 1px solid rgba(255, 255, 255, 0.5);
    text-align: center;
}

.brand-logo {
    margin-bottom: 30px;
}

.logo-icon {
    font-size: 40px;
    margin-bottom: 10px;
}

.brand-logo h1 {
    font-size: 24px;
    font-weight: 700;
    background: linear-gradient(to right, var(--primary-dark), var(--accent-pink));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.login-subtitle {
    color: var(--text-muted);
    margin-bottom: 30px;
    font-size: 15px;
}

.input-group {
    margin-bottom: 20px;
    text-align: left;
}

.input-group label {
    display: block;
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 8px;
    color: var(--text-main);
}

.input-group input {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #e2e8f0;
    border-radius: var(--radius-md);
    font-size: 15px;
    transition: all 0.3s ease;
    background: #f8fafc;
    /* Light grey input bg */
    color: var(--text-main);
}

.input-group input:focus {
    border-color: var(--primary-main);
    box-shadow: 0 0 0 4px var(--primary-light);
    outline: none;
}

.btn-primary {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-main));
    color: white;
    border: none;
    border-radius: var(--radius-md);
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    margin-top: 10px;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(139, 92, 246, 0.3);
}

.demo-hint {
    margin-top: 20px;
    font-size: 12px;
    color: var(--text-muted);
    background: #f1f5f9;
    padding: 8px;
    border-radius: 6px;
    display: inline-block;
}


/* --- Dashboard Layout --- */
.dashboard-container {
    width: 100%;
    min-height: 100vh;
    background: #f8fafc;
}

/* Main Content */
.main-content {
    max-width: 1440px;
    /* Limit width */
    margin: 0 auto;
    padding: 30px 40px;
    background: transparent;
}

/* Header */
.top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    background: white;
    padding: 16px 24px;
    border-radius: 20px;
    box-shadow: var(--shadow-sm);
}

.brand-logo-header {
    display: flex;
    align-items: center;
    gap: 12px;
}

.brand-logo-header .logo-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary-main), var(--primary-dark));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
}

.brand-logo-header h2 {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-main);
}

.search-bar {
    background: #f1f5f9;
    padding: 12px 20px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 12px;
    width: 400px;
}

.search-bar input {
    border: none;
    outline: none;
    width: 100%;
    font-size: 14px;
    background: transparent;
}

.user-profile {
    display: flex;
    align-items: center;
    gap: 16px;
}

.date-badge,
.location-badge {
    background: #f1f5f9;
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-main);
}

.avatar {
    width: 40px;
    height: 40px;
    background: var(--primary-main);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    box-shadow: 0 4px 10px rgba(139, 92, 246, 0.3);
}

.btn-logout-header {
    background: #fee2e2;
    color: #dc2626;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 20px;
    transition: all 0.2s;
}

.btn-logout-header:hover {
    background: #fecaca;
    transform: scale(1.05);
}

/* Stats Cards */
/* --- KPI Pills Styles --- */
.stats-pills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
    margin-bottom: 32px;
    /* Added margin-bottom to match old stats-grid */
}

.stat-pill {
    display: flex;
    align-items: center;
    padding: 12px 20px;
    /* Slimmer padding */
    border-radius: 50px;
    /* Pill shape */
    color: white;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease;
}

.stat-pill:hover {
    transform: translateY(-3px);
}

.pill-icon {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.25);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 20px;
    margin-right: 12px;
    backdrop-filter: blur(4px);
    flex-shrink: 0;
}

.pill-content {
    display: flex;
    flex-direction: column;
}

.pill-content h3,
.pill-content .pill-value-text {
    font-size: 18px;
    font-weight: 700;
    margin: 0;
    line-height: 1.1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.pill-content p {
    font-size: 11px;
    opacity: 0.9;
    margin: 2px 0 0 0;
    font-weight: 500;
}

/* Gradients */
.purple-gradient {
    background: linear-gradient(135deg, #8b5cf6 0%, #6d28d9 100%);
}

.blue-gradient {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
}

.orange-gradient {
    background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
}

.teal-gradient {
    background: linear-gradient(135deg, #14b8a6 0%, #0d9488 100%);
}

/* Old Cards - Keep just in case or remove if unused */
.stats-grid {
    display: none;
    /* Hide old stats grid */
}

.stat-card {
    display: none;
    /* Hide old cards */
}

.stat-info h3 {
    font-size: 13px;
    color: var(--text-muted);
    font-weight: 500;
    margin-bottom: 4px;
}

.stat-info .value {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-main);
}

/* Charts Grid */
.charts-grid-row-1,
.charts-grid-row-2 {
    display: grid;
    gap: 24px;
    margin-bottom: 24px;
}

.charts-grid-row-1 {
    grid-template-columns: 35% 65%;
}

.charts-grid-row-2 {
    grid-template-columns: 1fr 1fr;
}

.chart-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
}

.chart-card.full-width {
    margin-bottom: 24px;
    /* Removed grid-column span to let auto-fit handle it, or use media query */
    width: 100%;
    grid-column: 1 / -1;
    /* Take full width if in grid */
}

/* Premium Main Banner */
.main-banner-section {
    margin-bottom: 32px;
}

.main-banner {
    background: linear-gradient(135deg, #ffffff 0%, #f9fafb 50%, #f3e8ff 100%) !important;
    position: relative;
    overflow: hidden;
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    padding: 48px 60px !important;
    /* More breathing room */
    border-radius: 30px !important;
    border: 1px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0 20px 40px -10px rgba(139, 92, 246, 0.1), 0 0 0 1px rgba(139, 92, 246, 0.05);
    /* Soft colored glow */
}

/* Decorative Background Shapes */
.main-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.main-banner::after {
    content: '';
    position: absolute;
    bottom: -50%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(244, 114, 182, 0.05) 0%, transparent 70%);
    /* Pink hint */
    border-radius: 50%;
    pointer-events: none;
}

.main-banner .text-content {
    max-width: 70%;
    z-index: 2;
    position: relative;
}

.main-banner h2 {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 16px;
    background: linear-gradient(to right, #1f2937, #4c1d95);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.02em;
}

.main-banner p {
    color: #4b5563;
    font-size: 18px;
    line-height: 1.6;
    max-width: 90%;
    font-weight: 400;
}

.banner-image {
    position: relative;
    z-index: 1;
}

/* Decorative Circle behind Icon */
.banner-image::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 180px;
    height: 180px;
    background: linear-gradient(135deg, #fecaca 0%, #ffe4e6 100%);
    border-radius: 50%;
    z-index: -1;
}

.banner-image i {
    font-size: 100px;
    color: #ef4444;
    /* Red-500 */
    filter: drop-shadow(0 10px 20px rgba(239, 68, 68, 0.2));
}

.card-header {
    margin-bottom: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.card-header h3 {
    font-size: 16px;
    font-weight: 600;
}

.badge-new {
    background: #dbeafe;
    color: #1e40af;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
}

.chart-container {
    position: relative;
    height: 300px;
    width: 100%;
}

.chart-container.large {
    height: 350px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.donut-container {
    height: 250px;
    display: flex;
    justify-content: center;
}

/* Table Styles */
.table-container {
    overflow-x: auto;
    max-height: 400px;
    overflow-y: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

th,
td {
    padding: 16px;
    text-align: left;
    border-bottom: 1px solid #f1f5f9;
}

th {
    font-weight: 600;
    color: var(--text-muted);
    position: sticky;
    top: 0;
    background: white;
    z-index: 10;
}

td {
    color: var(--text-main);
}

tbody tr:hover {
    background-color: #f8fafc;
}

/* Scrollbar Style */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f5f9;
}

::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

/* Modal Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.modal-card {
    background: white;
    width: 500px;
    padding: 40px;
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow-md);
    animation: slideUp 0.3s ease-out;
}

.modal-icon {
    font-size: 48px;
    color: var(--primary-main);
    margin-bottom: 16px;
}

.upload-area {
    border: 2px dashed #cbd5e1;
    border-radius: var(--radius-md);
    padding: 40px;
    margin: 24px 0;
    cursor: pointer;
    transition: all 0.2s;
}

.upload-area:hover {
    border-color: var(--primary-main);
    background: #f8fafc;
}

.upload-area i {
    font-size: 48px;
    color: #94a3b8;
    margin-bottom: 12px;
}

.file-name {
    margin-top: 10px;
    font-weight: 600;
    color: var(--primary-dark);
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        transform: translateY(20px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* ========================================
   SEARCH RESULTS CARD STYLES
   ======================================== */

.search-results-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(139, 92, 246, 0.1);
}

.search-results-header {
    background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 50%, #6d28d9 100%);
    color: white;
    padding: 16px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.search-count-badge {
    background: white;
    color: #7c3aed;
    padding: 6px 14px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.search-results-body {
    border-left: 4px solid #8b5cf6;
    padding: 0;
}

.search-table {
    width: 100%;
    border-collapse: collapse;
}

.search-table thead tr {
    background: #f9fafb;
}

.search-table th {
    padding: 14px 16px;
    text-align: left;
    font-weight: 600;
    font-size: 13px;
    color: #6b7280;
    border-bottom: 1px solid #e5e7eb;
    white-space: nowrap;
}

.search-table td {
    padding: 14px 16px;
    font-size: 14px;
    color: #1f2937;
    border-bottom: 1px solid #f3f4f6;
}

.search-table tbody tr:hover {
    background: #faf5ff;
}

/* Brand column - bold */
.search-table td:first-child {
    font-weight: 700;
    color: #111827;
}

/* Nama Parfum column - slightly muted */
.search-table td:nth-child(2) {
    color: #4b5563;
}

/* Gender, Kategori, Konsentrasi - colored text */
.search-table td:nth-child(3),
.search-table td:nth-child(4),
.search-table td:nth-child(5) {
    color: #6366f1;
    font-weight: 500;
}

/* Harga column */
.search-table td:nth-child(6) {
    color: #059669;
    font-weight: 600;
}

/* Rating column */
.search-table td:nth-child(7) {
    color: #9ca3af;
}

/* ========================================
   RESPONSIVE DESIGN - MEDIA QUERIES
   ======================================== */

/* Large Desktop (1440px and up) - Default styles apply */

/* Medium Desktop / Small Laptop (1200px and below) */
@media (max-width: 1200px) {
    .main-content {
        padding: 24px 30px;
    }

    .main-banner {
        padding: 36px 40px !important;
    }

    .main-banner h2 {
        font-size: 30px;
    }

    .main-banner p {
        font-size: 16px;
    }

    .banner-image {
        flex: 0 0 220px !important;
    }

    .search-bar {
        width: 300px;
    }

    .charts-grid-row-1 {
        grid-template-columns: 40% 60%;
    }
}

/* Tablet Landscape (1024px and below) */
@media (max-width: 1024px) {
    .main-content {
        padding: 20px 24px;
    }

    .top-bar {
        flex-wrap: wrap;
        gap: 16px;
        padding: 16px 20px;
    }

    .search-bar {
        order: 3;
        width: 100%;
        margin-top: 8px;
    }

    .charts-grid-row-1,
    .charts-grid-row-2 {
        grid-template-columns: 1fr;
    }

    /* FIX: Prevent grid items from blowing out viewport width */
    .charts-grid-row-1>.chart-card,
    .charts-grid-row-2>.chart-card {
        min-width: 0;
        max-width: 100%;
    }

    .main-banner {
        flex-direction: column !important;
        text-align: center !important;
        padding: 32px 28px !important;
    }

    .main-banner .text-content {
        max-width: 100%;
        padding-right: 0 !important;
        margin-bottom: 24px;
    }

    .main-banner h2 {
        font-size: 26px;
    }

    .banner-image {
        flex: 0 0 auto !important;
        width: 200px;
    }

    .stats-pills-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Tablet Portrait (768px and below) */
@media (max-width: 768px) {
    .main-content {
        padding: 16px;
    }

    .top-bar {
        padding: 12px 16px;
        border-radius: 16px;
        margin-bottom: 24px;
    }

    .brand-logo-header h2 {
        font-size: 16px;
    }

    .date-badge,
    .location-badge {
        font-size: 11px;
        padding: 6px 12px;
    }

    .user-profile {
        gap: 10px;
    }

    .avatar,
    .btn-logout-header {
        width: 36px;
        height: 36px;
        font-size: 14px;
    }

    .main-banner {
        padding: 24px 20px !important;
        border-radius: 20px !important;
    }

    .main-banner h2 {
        font-size: 22px;
        margin-bottom: 12px;
    }

    .main-banner p {
        font-size: 14px;
    }

    .banner-image {
        width: 160px;
    }

    .stats-pills-grid {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

    .stat-pill {
        padding: 10px 16px;
        border-radius: 40px;
    }

    .pill-icon {
        width: 36px;
        height: 36px;
        font-size: 18px;
        margin-right: 10px;
    }

    .pill-content h3,
    .pill-content .pill-value-text {
        font-size: 16px;
    }

    .pill-content p {
        font-size: 10px;
    }

    .chart-card {
        padding: 16px;
        border-radius: 20px;
    }

    .card-header h3 {
        font-size: 14px;
    }

    .chart-container {
        height: 250px;
    }

    .chart-container.large {
        height: 300px;
    }

    .donut-container {
        height: 220px;
    }

    .table-container {
        max-height: 300px;
    }

    table {
        font-size: 12px;
    }

    th,
    td {
        padding: 12px 10px;
    }

    .modal-card {
        width: 90%;
        padding: 28px 20px;
    }
}

/* Mobile (576px and below) */
@media (max-width: 576px) {
    .main-content {
        padding: 12px;
    }

    .top-bar {
        padding: 10px 12px;
        margin-bottom: 16px;
    }

    .brand-logo-header {
        gap: 8px;
    }

    .brand-logo-header .logo-icon {
        width: 32px;
        height: 32px;
        font-size: 16px;
    }

    .brand-logo-header h2 {
        font-size: 14px;
    }

    .date-badge {
        display: none;
    }

    .location-badge {
        display: none;
    }

    .avatar,
    .btn-logout-header {
        width: 32px;
        height: 32px;
    }

    /* Header Buttons: Icon Only on Mobile */
    #headerDeleteBtn span,
    #headerUploadBtn span {
        display: none;
    }

    #headerDeleteBtn,
    #headerUploadBtn {
        padding: 8px !important;
        width: 36px;
        height: 36px;
        justify-content: center;
        margin-right: 8px !important;
    }

    .search-bar {
        padding: 10px 16px;
    }

    .search-bar input {
        font-size: 13px;
    }

    .main-banner-section {
        margin-bottom: 16px;
    }

    .main-banner {
        padding: 20px 16px !important;
        border-radius: 16px !important;
    }

    .main-banner h2 {
        font-size: 18px;
        margin-bottom: 10px;
    }

    .main-banner p {
        font-size: 13px;
        line-height: 1.5;
    }

    .banner-image {
        width: 120px;
    }

    .stats-pills-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .stat-pill {
        padding: 12px 16px;
    }

    .chart-card {
        padding: 14px;
        border-radius: 16px;
        margin-bottom: 12px;
    }

    .card-header {
        margin-bottom: 14px;
    }

    .card-header h3 {
        font-size: 13px;
    }

    .badge-new {
        font-size: 9px;
        padding: 3px 6px;
    }

    /* ALL Charts - Enable horizontal scroll on mobile */
    .chart-container {
        height: 220px;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .chart-container>div,
    .chart-container>canvas {
        min-width: 320px;
    }

    .chart-container.large {
        height: 280px;
        overflow-x: auto;
    }

    .chart-container.large>div {
        min-width: 600px;
        height: 100%;
    }

    /* Donut charts - stack legend below on mobile */
    .donut-container {
        height: auto;
        min-height: 200px;
        flex-direction: column !important;
        gap: 16px !important;
    }

    .donut-container canvas {
        max-width: 180px !important;
        max-height: 180px !important;
    }

    /* Custom legends for donut - make smaller on mobile */
    .custom-gender-legend,
    .custom-longevity-legend {
        min-width: auto !important;
        width: 100%;
    }

    .custom-gender-legend>div,
    .custom-longevity-legend>div {
        flex-direction: row !important;
        flex-wrap: wrap;
        justify-content: center;
        gap: 12px !important;
    }

    /* Banner Image - prevent overflow */
    .banner-image {
        width: 100% !important;
        max-width: 180px;
        margin: 0 auto;
        overflow: visible;
    }

    .banner-image img {
        max-width: 100%;
        height: auto;
    }

    /* Make banner decorative circle smaller */
    .banner-image::before {
        width: 140px;
        height: 140px;
    }

    .table-container {
        max-height: 250px;
    }

    table {
        font-size: 11px;
    }

    th,
    td {
        padding: 10px 8px;
    }

    /* Filter dropdown */
    #brandFilter {
        width: 100%;
        padding: 12px;
        font-size: 14px;
    }

    .modal-card {
        width: 95%;
        padding: 24px 16px;
        border-radius: 20px;
    }

    .modal-icon {
        font-size: 40px;
    }

    .upload-area {
        padding: 24px;
        margin: 16px 0;
    }

    .upload-area i {
        font-size: 36px;
    }

    /* Full-width chart cards - ensure scrollable */
    .chart-card.full-width .chart-container {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .chart-card.full-width .chart-container>div {
        min-width: 700px;
    }
}