/* static/css/style.css */

/* Dark theme (default) */
:root {
    --primary-color: #0a7cff;
    --secondary-color: #0ab48a;
    --bg-color: #1a1a1a;
    --text-color: #f0f0f0;
    --card-bg: #2c2c2c;
    --border-color: #444;
    --input-bg: #333;
    --table-accent: #2c2c2c;
    --alert-info-bg: #1c3e5e;
    --alert-info-text: #cce5ff;
    --alert-danger-bg: #5c2121;
    --alert-danger-text: #f8d7da;
}

/* Light theme */
[data-theme="light"] {
    --primary-color: #0a7cff;
    --secondary-color: #0ab48a;
    --bg-color: #f8f9fa;
    --text-color: #1a1a1a;
    --card-bg: #ffffff;
    --border-color: #cfd4da;
    --input-bg: #ffffff;
    --table-accent: #e9ecef;
    --alert-info-bg: #d1ecf1;
    --alert-info-text: #0c5460;
    --alert-danger-bg: #f8d7da;
    --alert-danger-text: #721c24;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-body, system-ui, sans-serif);
    line-height: 1.6;
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* ==================== Bootstrap Utility Overrides for Dark Theme ==================== */
/* These overrides ensure Bootstrap's default utility classes adapt to our custom theme system */

/* text-muted: Bootstrap's default gray doesn't adapt to dark theme */
.text-muted {
    color: #9ca3af !important; /* Readable gray for dark theme */
}

[data-theme="light"] .text-muted {
    color: #6c757d !important; /* Bootstrap's default for light theme */
}

/* bg-light: Bootstrap's light background breaks in dark mode */
.bg-light {
    background-color: var(--card-bg) !important;
    color: var(--text-color) !important;
    border: 1px solid var(--border-color);
}

[data-theme="light"] .bg-light {
    background-color: #f8f9fa !important; /* Bootstrap's default for light theme */
    color: #1a1a1a !important;
    border: 1px solid #e9ecef;
}

/* Accordion: Bootstrap's default accordion doesn't adapt to dark theme */
.accordion-item {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
}

.accordion-button {
    background-color: var(--card-bg);
    color: var(--text-color);
}

.accordion-button:not(.collapsed) {
    background-color: rgba(102, 126, 234, 0.1);
    color: var(--text-color);
}

.accordion-button:focus {
    box-shadow: 0 0 0 0.25rem rgba(102, 126, 234, 0.25);
}

.accordion-body {
    background-color: var(--card-bg);
    color: var(--text-color);
}

[data-theme="light"] .accordion-item {
    background-color: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.125);
}

[data-theme="light"] .accordion-button {
    background-color: #ffffff;
    color: #1a1a1a;
}

[data-theme="light"] .accordion-button:not(.collapsed) {
    background-color: rgba(79, 172, 254, 0.08);
    color: #1a1a1a;
}

[data-theme="light"] .accordion-body {
    background-color: #ffffff;
    color: #1a1a1a;
}

/* ==================== End Bootstrap Utility Overrides ==================== */

.container {
    animation: fadeIn 0.6s ease-out;
}

/* Chart Styles - Desktop full height for better visibility */
#capitalChart {
    min-height: 500px;
}

#stackedAreaChart,
#dragAnalysisChart {
    min-height: 400px;
}

/* Themed navbar */
.themed-navbar {
    background: linear-gradient(135deg, #2c3e50 0%, #1a252f 100%);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 1rem 0;
    animation: slideDown 0.5s ease-out;
}

[data-theme="light"] .themed-navbar {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.themed-navbar .navbar-text {
    color: rgba(255, 255, 255, 0.9);
}

[data-theme="light"] .themed-navbar .navbar-text {
    color: #495057;
}

/* Mobile navbar toggler */
.themed-navbar .navbar-toggler {
    border-color: rgba(255, 255, 255, 0.3);
    padding: 0.25rem 0.5rem;
}

.themed-navbar .navbar-toggler:focus {
    box-shadow: 0 0 0 0.25rem rgba(255, 255, 255, 0.25);
}

.themed-navbar .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.8%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

[data-theme="light"] .themed-navbar .navbar-toggler {
    border-color: rgba(0, 0, 0, 0.15);
}

[data-theme="light"] .themed-navbar .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%280, 0, 0, 0.6%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.themed-navbar .btn-outline-light {
    color: #f8f9fa;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    padding: 0.5rem 1.25rem;
    font-weight: 500;
    transition: all 0.3s ease;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.themed-navbar .btn-outline-light:hover {
    color: #fff;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-color: transparent;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
    transform: translateY(-1px);
}

[data-theme="light"] .themed-navbar .btn-outline-light {
    color: #495057;
    border: 1px solid rgba(0, 0, 0, 0.15);
}

[data-theme="light"] .themed-navbar .btn-outline-light:hover {
    color: #fff;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-color: transparent;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
    transform: translateY(-1px);
}

/* Theme toggle button */
#theme-toggle {
    color: var(--text-color);
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    padding: 0.5rem 1.25rem;
    transition: all 0.3s ease;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

#theme-toggle:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-1px);
}

[data-theme="light"] #theme-toggle {
    background: rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.1);
    color: #495057;
}

[data-theme="light"] #theme-toggle:hover {
    background: rgba(0, 0, 0, 0.08);
    border-color: rgba(0, 0, 0, 0.15);
}

/* Navbar profile picture */
.themed-navbar img.rounded-circle {
    border: 2px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.themed-navbar img.rounded-circle:hover {
    border-color: #667eea;
    box-shadow: 0 0 12px rgba(102, 126, 234, 0.5);
    transform: scale(1.05);
}

[data-theme="light"] .themed-navbar img.rounded-circle {
    border: 2px solid rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .themed-navbar img.rounded-circle:hover {
    border-color: #667eea;
    box-shadow: 0 0 12px rgba(102, 126, 234, 0.3);
}

/* Navbar alignment fixes */
.themed-navbar .navbar-nav {
    align-items: center;
}

.themed-navbar .nav-item {
    display: flex;
    align-items: center;
}

/* Navbar links (Pricing, Billing) */
.themed-navbar .nav-link {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    padding: 0.5rem 0.75rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.themed-navbar .nav-link:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
}

[data-theme="light"] .themed-navbar .nav-link {
    color: #495057;
}

[data-theme="light"] .themed-navbar .nav-link:hover {
    color: #2c3e50;
    background: rgba(0, 0, 0, 0.05);
}

/* Themed hero section */
.themed-hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border: none;
    animation: fadeIn 0.8s ease-out;
}

.themed-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

.themed-hero * {
    position: relative;
    z-index: 1;
}

[data-theme="light"] .themed-hero {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    color: #fff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

[data-theme="light"] .themed-hero::before {
    background:
        radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.15) 0%, transparent 50%);
}

.themed-hero h1,
.themed-hero p {
    color: #fff !important;
}

.themed-hero .fas {
    animation: float 3s ease-in-out infinite;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-body, system-ui, sans-serif);
    font-weight: 600;
    color: var(--text-color);
}

p {
    font-family: var(--font-body, system-ui, sans-serif);
    font-weight: 300;
}

.display-4 {
    font-weight: 700;
}

.fs-4 {
    font-weight: 400;
}

.list-group-item {
    background-color: var(--card-bg);
    border-color: var(--border-color);
    transition: all 0.3s ease;
    padding: 0.875rem 1.25rem;
}

.list-group-item:hover {
    background-color: var(--input-bg);
    transform: translateX(5px);
}

.list-group-item strong {
    color: var(--primary-color);
}

.alert-info {
    background: var(--alert-info-bg);
    color: var(--alert-info-text);
    border: none;
    border-left: 4px solid #0a7cff;
    border-radius: 8px;
    padding: 1rem 1.25rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .alert-info {
    border-left-color: #4facfe;
}

.table-striped > tbody > tr:nth-of-type(odd) > * {
    --bs-table-accent-bg: var(--table-accent);
}

.card {
    color: var(--text-color);
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    margin-bottom: 1.5rem;
    border-radius: 12px;
    transition: all 0.3s ease;
    overflow: hidden;
}

/* Fix for clickable cards (a.card) - ensure text is visible in both themes */
a.card {
    color: var(--text-color);
    text-decoration: none;
}

a.card:hover {
    color: var(--text-color);
    text-decoration: none;
}

a.card h1, a.card h2, a.card h3, a.card h4, a.card h5, a.card h6 {
    color: var(--text-color);
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.2);
}

[data-theme="light"] .card:hover {
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.1);
}

.card-body {
    padding: 1.5rem;
}

/* Ensure all text inside cards uses theme-aware colors */
.card h1, .card h2, .card h3, .card h4, .card h5, .card h6 {
    color: var(--text-color);
}

.card-header {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1), rgba(118, 75, 162, 0.1));
    border-bottom: 2px solid var(--border-color);
    padding: 1.25rem 1.5rem;
    font-weight: 600;
    color: var(--text-color);
}

[data-theme="light"] .card-header {
    background: linear-gradient(135deg, rgba(79, 172, 254, 0.08), rgba(0, 242, 254, 0.08));
}

.card-header h2,
.card-header h4,
.card-header h5 {
    color: var(--text-color);
    margin-bottom: 0;
}

.nav-tabs {
    border-bottom: 2px solid var(--border-color);
    margin-bottom: 0;
}

.nav-tabs .nav-link {
    color: var(--text-color);
    border: none;
    border-radius: 0;
    padding: 1rem 1.5rem;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    background: transparent;
}

.nav-tabs .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 3px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-tabs .nav-link:hover {
    color: var(--primary-color);
    background: rgba(102, 126, 234, 0.05);
}

.nav-tabs .nav-link.active {
    color: var(--primary-color);
    background: var(--card-bg);
    font-weight: 600;
}

.nav-tabs .nav-link.active::after {
    width: 100%;
}

[data-theme="light"] .nav-tabs .nav-link::after {
    background: linear-gradient(135deg, #4facfe, #00f2fe);
}

.tab-content {
    background: var(--card-bg);
    border-radius: 0 0 8px 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.btn-primary {
    background: var(--action-bg);
    color: #fff;
    border: none;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.btn-primary:hover {
    background: #043a78;
    color: #fff;
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.5);
    transform: translateY(-2px);
}

[data-theme="light"] .btn-primary {
    background: var(--action-bg);
    color: #fff;
    box-shadow: 0 4px 15px rgba(79, 172, 254, 0.4);
}

[data-theme="light"] .btn-primary:hover {
    background: #043a78;
    color: #fff;
    box-shadow: 0 6px 20px rgba(79, 172, 254, 0.5);
}

.btn-success {
    background: linear-gradient(135deg, #0ab48a 0%, #08a075 100%);
    border: none;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(10, 180, 138, 0.4);
}

.btn-success:hover {
    background: linear-gradient(135deg, #08a075, #069064 100%);
    box-shadow: 0 6px 20px rgba(10, 180, 138, 0.5);
    transform: translateY(-2px);
}

.form-control, .form-select {
    background-color: var(--input-bg);
    color: var(--text-color);
    border: 2px solid var(--border-color);
    border-radius: 8px;
    padding: 0.625rem 0.875rem;
    transition: all 0.3s ease;
}

.form-control:focus, .form-select:focus {
    background-color: var(--input-bg);
    color: var(--text-color);
    border-color: #667eea;
    box-shadow: 0 0 0 0.25rem rgba(102, 126, 234, 0.15);
    transform: translateY(-1px);
}

[data-theme="light"] .form-control:focus,
[data-theme="light"] .form-select:focus {
    border-color: #4facfe;
    box-shadow: 0 0 0 0.25rem rgba(79, 172, 254, 0.15);
}

/* Form switches - Dark theme friendly */
.form-check-input {
    background-color: var(--input-bg);
    border: 2px solid var(--border-color);
    transition: all 0.3s ease;
}

.form-check-input:checked {
    background-color: #667eea;
    border-color: #667eea;
}

.form-check-input:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 0.25rem rgba(102, 126, 234, 0.15);
}

[data-theme="light"] .form-check-input:checked {
    background-color: #4facfe;
    border-color: #4facfe;
}

[data-theme="light"] .form-check-input:focus {
    border-color: #4facfe;
    box-shadow: 0 0 0 0.25rem rgba(79, 172, 254, 0.15);
}

.form-check-label {
    color: var(--text-color);
}

/* Taxation and Withdrawals Summary Cards - Dark theme friendly */
#taxation-withdrawals-summary-row .card {
    color: var(--text-color);
    background-color: var(--card-bg);
}

#taxation-withdrawals-summary-row .card-title {
    color: var(--text-color);
}

#taxation-withdrawals-summary-row .card-subtitle {
    color: var(--text-color);
    opacity: 0.7;
}

#taxation-withdrawals-summary-row small {
    color: var(--text-color);
    opacity: 0.6;
}

.table > tbody > tr {
    background-color: var(--card-bg);
    color: var(--text-color);
    transition: all 0.3s ease;
}

.table > tbody > tr:hover {
    background-color: var(--input-bg);
    transform: scale(1.01);
}

.table-bordered {
    border-color: var(--border-color);
}

.table thead th {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.15), rgba(118, 75, 162, 0.15));
    color: var(--text-color);
    font-weight: 600;
    border-bottom: 2px solid var(--border-color);
}

[data-theme="light"] .table thead th {
    background: linear-gradient(135deg, rgba(79, 172, 254, 0.1), rgba(0, 242, 254, 0.1));
}


.alert-danger {
    background: linear-gradient(135deg, var(--alert-danger-bg) 0%, var(--alert-danger-bg) 100%);
    color: var(--alert-danger-text);
    border: none;
    border-left: 4px solid #dc3545;
    border-radius: 8px;
    padding: 1rem 1.25rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.summary-card .card-body .card-text,
.summary-card .card-body .list-group-item {
    color: var(--text-color);
}

.summary-card {
    background-color: var(--card-bg);
}

.form-label {
    color: var(--text-color);
    font-weight: bold;
    margin-bottom: 0.5rem; /* Consistent spacing below labels */
}

.description-list dt,
.description-list dd {
    color: var(--text-color);
    margin-bottom: 0.5rem; /* Consistent spacing for description list items */
}

.form-floating > label {
    color: var(--text-color);
}

#latest_picks_results thead th {
    background-color: var(--input-bg);
    color: var(--text-color);
}

#picks_list tr {
    background-color: var(--card-bg) !important;
    color: var(--text-color) !important;
}

.card-header small {
    color: var(--text-color) !important;
}

/* Dark theme - BUY rows (green with white text) */
.table-dark-theme tbody tr.table-success td {
    background-color: #198754 !important; /* Dark green */
    color: #fff !important;
}

/* Dark theme - SELL rows (red with white text) */
.table-dark-theme tbody tr.table-danger td {
    background-color: #dc3545 !important; /* Dark red */
    color: #fff !important;
}

/* Light theme - BUY rows (light green with dark text) */
[data-theme="light"] .table-dark-theme tbody tr.table-success td {
    background-color: #d1e7dd !important; /* Light green */
    color: #0a3622 !important;
}

/* Light theme - SELL rows (light red with dark text) */
[data-theme="light"] .table-dark-theme tbody tr.table-danger td {
    background-color: #f8d7da !important; /* Light red */
    color: #58151c !important;
}

/* Hover effects for table-success and table-danger */
.table-dark-theme tbody tr.table-success:hover td {
    background-color: #1e6f50 !important;
}

.table-dark-theme tbody tr.table-danger:hover td {
    background-color: #b02a37 !important;
}

[data-theme="light"] .table-dark-theme tbody tr.table-success:hover td {
    background-color: #badbcc !important;
}

[data-theme="light"] .table-dark-theme tbody tr.table-danger:hover td {
    background-color: #f1aeb5 !important;
}

.timeline-event-card .card-title {
    color: var(--text-color);
}

.timeline-event-card .list-group-item {
    color: var(--text-color);
}

.timeline-event-card .table td {
    color: var(--text-color);
}

.timeline-event-card .table th {
    color: var(--text-color);
    background-color: var(--input-bg);
}

.progress {
    background-color: var(--card-bg);
    border-radius: 10px;
    height: 28px;
    box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.1);
}

.progress-bar {
    border-radius: 10px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    font-weight: 600;
}

[data-theme="light"] .progress-bar {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.spinner-border {
    border-width: 3px;
}

footer {
    margin-top: 4rem;
    padding: 2rem 0;
    border-top: 2px solid var(--border-color);
}

footer p {
    color: var(--text-color) !important;
    font-size: 0.9rem;
}

/* Modern Login Page Styles */
.login-container {
    min-height: 100vh;
    width: 100%;
    overflow: hidden;
}

.login-container .container-fluid {
    height: 100vh;
}

/* Left Panel - Marketing Side */
.login-left-panel {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 3rem;
    position: relative;
}

.login-left-panel::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

[data-theme="light"] .login-left-panel {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    position: relative;
}

[data-theme="light"] .login-left-panel::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.login-content-wrapper {
    max-width: 500px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.login-brand-icon {
    color: rgba(255, 255, 255, 0.9);
    animation: float 3s ease-in-out infinite;
}

[data-theme="light"] .login-brand-icon {
    color: #1a1a1a;
}

.login-brand-title {
    color: #fff;
    margin-bottom: 1rem;
    font-size: 3rem;
}

[data-theme="light"] .login-brand-title {
    color: #1a1a1a;
}

.login-brand-subtitle {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.25rem;
}

[data-theme="light"] .login-brand-subtitle {
    color: #2c3e50;
}

.login-features {
    margin-top: 3rem;
}

.login-feature-row {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: transform 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
}

.login-feature-row:hover {
    transform: translateX(10px);
    background: rgba(255, 255, 255, 0.18);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

[data-theme="light"] .login-feature-row {
    background: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.4);
}

[data-theme="light"] .login-feature-row:hover {
    background: rgba(255, 255, 255, 0.45);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.login-feature-icon-wrapper {
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.25);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1.25rem;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

[data-theme="light"] .login-feature-icon-wrapper {
    background: rgba(255, 255, 255, 0.5);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.login-feature-icon-wrapper i {
    color: #fff;
}

[data-theme="light"] .login-feature-icon-wrapper i {
    color: #1a1a1a;
}

.login-feature-content {
    flex: 1;
}

.login-feature-content h5 {
    color: #fff;
    font-weight: 600;
    font-size: 1.1rem;
}

[data-theme="light"] .login-feature-content h5 {
    color: #1a1a1a;
}

.login-feature-content p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.95rem;
    line-height: 1.5;
}

[data-theme="light"] .login-feature-content p {
    color: #2c3e50;
}

/* Right Panel - Login Card */
.login-right-panel {
    background: linear-gradient(135deg, #1a1a1a 0%, #0f0f0f 100%);
    padding: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

[data-theme="light"] .login-right-panel {
    background: linear-gradient(135deg, #fdfbfb 0%, #ebedee 100%);
}

.login-card-wrapper {
    width: 100%;
    max-width: 450px;
}

.login-card {
    background: rgba(44, 44, 44, 0.8);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 3rem 2.5rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

[data-theme="light"] .login-card {
    background: #ffffff;
    backdrop-filter: none;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
    border: none;
}

.login-card-title {
    color: var(--text-color);
    font-weight: 700;
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
}

.login-card-subtitle {
    color: var(--text-color);
    font-size: 0.95rem;
}

[data-theme="light"] .login-card-subtitle {
    color: #6c757d;
}

[data-theme="dark"] .login-card-subtitle {
    color: #9ca3af;
}

.login-divider {
    position: relative;
    text-align: center;
    margin: 2rem 0;
}

.login-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--border-color), transparent);
}

.login-divider-text {
    position: relative;
    background: rgba(44, 44, 44, 0.9);
    padding: 0 1rem;
    color: #8e9aaf;
    font-size: 0.875rem;
    font-weight: 500;
}

[data-theme="light"] .login-divider-text {
    background: #ffffff;
    color: #495057;
}

/* Google Button */
.btn-google {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    border: none;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.btn-google:hover {
    background: linear-gradient(135deg, #5568d3, #6a3f8f 100%);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.5);
    transform: translateY(-2px);
    color: #fff;
}

[data-theme="light"] .btn-google {
    background: linear-gradient(to right, #4285f4, #34a853);
    color: #fff;
    border: none;
    font-weight: 600;
}

[data-theme="light"] .btn-google:hover {
    background: linear-gradient(to right, #3367d6, #2d8e47);
    box-shadow: 0 4px 12px rgba(66, 133, 244, 0.3);
    color: #fff;
}

/* Mobile Features */
.login-mobile-features-title {
    color: var(--text-color);
    font-weight: 600;
}

.login-mobile-feature {
    display: flex;
    align-items: center;
    margin-bottom: 0.75rem;
    color: var(--text-color);
    font-size: 0.9rem;
}

/* Animations */
@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes ripple {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

/* Responsive */
@media (max-width: 991px) {
    .login-container .container-fluid {
        height: auto;
        min-height: 100vh;
    }

    .login-right-panel {
        padding: 2rem 1rem;
    }

    .login-card {
        padding: 2rem 1.5rem;
    }
}

/* Pull-to-Refresh Indicator */
.pull-to-refresh-indicator {
    position: absolute;
    top: -80px;
    left: 0;
    right: 0;
    height: 80px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    color: var(--text-color);
    z-index: 100;
}

.pull-to-refresh-spinner {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
}

.pull-to-refresh-spinner i {
    font-size: 24px;
    color: var(--primary-color);
    transition: transform 0.3s ease;
}

.pull-to-refresh-text {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-color);
    opacity: 0.8;
}

.pull-to-refresh-indicator.ready .pull-to-refresh-text {
    color: var(--primary-color);
    opacity: 1;
}

.pull-to-refresh-indicator.refreshing {
    opacity: 1 !important;
}

/* Make containers relative for pull-to-refresh */
#saved-simulations-list,
#latest_picks_results .card-body,
.pull-to-refresh-container {
    position: relative;
}

/* Mobile Dashboard (hidden on desktop) */
.mobile-dashboard {
    display: none;
}

/* Mobile Bottom Navigation (hidden on desktop) */
.mobile-bottom-nav {
    display: none;
}

@media (max-width: 768px) {
    /* Mobile Touch Target Sizes - Ensure ALL buttons meet 44px minimum */
    button, .btn, .btn-sm, .btn-outline-primary, a.btn {
        min-height: 44px !important;
        min-width: 44px !important;
        padding: 0.75rem 1rem !important;
        font-size: 0.95rem !important;
    }

    /* Exception for button groups - proportional sizing but still touch-friendly */
    .btn-group .btn {
        min-height: 44px !important;
        padding: 0.75rem 1rem !important;
    }

    /* Mobile Text Readability - Minimum 14px font size */
    small, .small, .text-muted, p, span, label, .form-check-label {
        font-size: 14px !important;
        line-height: 1.4 !important;
    }

    /* Specific overrides for very small text */
    #saved-simulations-tab-pane small,
    #saved-simulations-tab-pane .small,
    #saved-simulations-tab-pane .text-muted,
    .card-header small {
        font-size: 14px !important;
    }

    /* Maximize width on mobile - optimal container padding for comfortable spacing */
    .container {
        padding-left: 0.5rem !important;  /* 8px - balanced between space efficiency and comfort */
        padding-right: 0.5rem !important;
    }

    /* Card layouts - FULL WIDTH override for mobile Library tab */
    /* Remove ALL Bootstrap padding/margins - MOBILE ONLY */
    .tab-content {
        padding: 0 !important;
    }

    #saved-simulations-tab-pane {
        padding: 0.125rem !important;
        margin: 0 !important;
    }

    /* Force row to full width - no negative margins */
    #saved-simulations-tab-pane .row,
    #saved-simulations-tab-pane > .row {
        margin: 0 !important;
        padding: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
    }

    /* Force ALL columns to full width - no padding */
    #saved-simulations-tab-pane [class^="col-"],
    #saved-simulations-tab-pane [class*=" col-"],
    #saved-simulations-tab-pane .col-lg-5,
    #saved-simulations-tab-pane .col-lg-7,
    #saved-simulations-tab-pane .col-12 {
        padding: 0 !important;
        margin: 0 !important;
        margin-bottom: 0.75rem !important;
        width: 100% !important;
        max-width: 100% !important;
        flex: 0 0 100% !important;
    }

    /* Cards take 100% width */
    #saved-simulations-tab-pane .card {
        width: 100% !important;
        margin: 0 !important;
        margin-bottom: 0.75rem !important;
    }

    /* Saved Simulations: mobile-friendly list items */
    #saved-simulations-list .list-group-item {
        display: flex !important;
        flex-direction: column;
        align-items: stretch;
        gap: 0.75rem;
        padding: 1rem;
        border-radius: 12px !important;
        margin-bottom: 0.75rem;
        border: 1px solid rgba(0, 0, 0, 0.08) !important;
        box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
    }

    [data-theme="dark"] #saved-simulations-list .list-group-item {
        border: 1px solid rgba(255, 255, 255, 0.1) !important;
        box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
    }

    #saved-simulations-list .list-group-item h6 {
        font-size: 1rem;
        margin-bottom: 0.25rem;
    }

    #saved-simulations-list .list-group-item small {
        font-size: 0.8rem;
    }

    #saved-simulations-list .list-group-item .btn-group {
        width: 100%;
        display: flex;
        gap: 0.5rem;
        justify-content: space-between;
    }

    #saved-simulations-list .list-group-item .btn-group .btn {
        flex: 1 1 50%;
        font-size: 0.95rem;
        padding: 0.75rem 1rem;
        border-radius: 10px;
        font-weight: 500;
    }

    /* Library Page: Mobile Tabbed Interface */
    .library-subtabs {
        background: rgba(0, 0, 0, 0.02);
        border-radius: 12px;
        padding: 0.5rem;
        margin-bottom: 1.5rem !important;
    }

    [data-theme="dark"] .library-subtabs {
        background: rgba(255, 255, 255, 0.05);
    }

    .library-subtabs .nav-link {
        border-radius: 10px;
        padding: 0.75rem 0.5rem;
        color: var(--text-muted);
        border: none;
        background: transparent;
        transition: all 0.3s ease;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
    }

    .library-subtabs .nav-link i {
        font-size: 1.25rem;
        opacity: 0.7;
        transition: all 0.3s ease;
        margin-bottom: 0.25rem;
    }

    .library-subtabs .nav-link small {
        font-size: 0.7rem;
        font-weight: 500;
        line-height: 1;
    }

    .library-subtabs .nav-link.active {
        background: var(--bs-primary);
        color: white !important;
        box-shadow: 0 2px 8px rgba(102, 126, 234, 0.4);
    }

    .library-subtabs .nav-link.active i {
        opacity: 1;
    }

    /* Mobile tab content */
    .library-mobile-tabs .tab-content {
        animation: fadeIn 0.3s ease-out;
    }

    /* Library mobile tabs - better padding for titles and content */
    .library-mobile-tabs .tab-pane {
        padding: 0 1rem;
    }

    /* Ensure h5 titles in Library tabs have proper spacing */
    .library-mobile-tabs h5 {
        padding-left: 0.25rem;
        padding-right: 0.25rem;
    }

    /* Desktop card headers in Library - increase horizontal padding */
    .library-desktop-layout .card-header {
        padding: 0.75rem 1.25rem;
    }

    /* Free user library card headers */
    .library-free-user .card-header {
        padding: 0.75rem 1.25rem;
    }

    /* Compact info alerts on mobile */
    .alert-sm {
        padding: 0.75rem 1rem;
        font-size: 0.85rem;
        margin-bottom: 1rem;
        border-radius: 12px;
        border: none;
    }

    /* Mobile settings cards (Alert Preferences) */
    #mobile-settings .card {
        border-radius: 16px;
        border: none;
        background: var(--bs-body-bg);
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
        margin-bottom: 1rem;
    }

    [data-theme="dark"] #mobile-settings .card {
        background: rgba(255, 255, 255, 0.03);
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    }

    #mobile-settings .card-body {
        padding: 1.25rem;
    }

    #mobile-settings .form-check-label {
        font-size: 0.95rem;
        font-weight: 500;
    }

    #mobile-settings small {
        opacity: 0.7;
    }

    /* Mobile strategies list - Clean card design */
    #strategiesListMobile .card {
        margin-bottom: 1rem;
        border-radius: 16px;
        border: none;
        background: var(--bs-body-bg);
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
        transition: transform 0.2s ease, box-shadow 0.2s ease;
    }

    [data-theme="dark"] #strategiesListMobile .card {
        background: rgba(255, 255, 255, 0.03);
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    }

    #strategiesListMobile .card:active {
        transform: scale(0.98);
    }

    #strategiesListMobile .card-body {
        padding: 1rem;
    }

    #strategiesListMobile .card h6 {
        font-size: 1.05rem;
        margin-bottom: 0.5rem;
        font-weight: 600;
    }

    #strategiesListMobile .card small {
        font-size: 0.85rem;
        opacity: 0.8;
    }

    #strategiesListMobile .card .btn-group {
        margin-top: 0.75rem;
        width: 100%;
    }

    /* Edit/Delete buttons in top btn-group - equal width */
    #strategiesListMobile .card .btn-group-sm .btn {
        flex: 1 1 0;
        min-width: 0;
    }

    #strategiesListMobile .card .btn-group .btn {
        font-size: 0.85rem;
        padding: 0.5rem 0.75rem;
        border-radius: 10px;
        font-weight: 500;
    }

    /* Fix toggle + button overflow on mobile - Strategy cards */
    #strategiesListMobile .card .d-flex.justify-content-between:last-child {
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 0.75rem !important;
    }

    /* Toggle switch and Run Backtest button - same width when stacked */
    #strategiesListMobile .card .form-check.form-switch {
        padding-left: 2.5em !important;
        width: 100% !important;
        margin-bottom: 0 !important;
        flex: 0 0 auto;
    }

    #strategiesListMobile .card .form-check-label {
        font-size: 0.85rem !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    #strategiesListMobile .card .run-backtest-btn {
        font-size: 0.85rem !important;
        padding: 0.6rem 1rem !important;
        width: 100% !important;
        margin: 0 !important;
        flex: 0 0 auto;
    }

    /* Fix alert card overflow on mobile */
    #mobile-settings .card {
        overflow: hidden;
    }

    #mobile-settings .card-body {
        padding: 1rem !important;
    }

    #mobile-settings .form-check.form-switch {
        padding-left: 2.5em !important;
        margin-bottom: 0.5rem !important;
    }

    #mobile-settings .form-check-label {
        font-size: 0.9rem !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        display: inline-block;
        max-width: calc(100% - 3em);
    }

    /* Mobile saved simulations list - Clean card design */
    #saved-simulations-list-mobile .list-group-item {
        border-radius: 16px !important;
        margin-bottom: 1rem;
        padding: 1.25rem;
        border: none !important;
        background: var(--bs-body-bg) !important;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
        transition: transform 0.2s ease, box-shadow 0.2s ease;
    }

    [data-theme="dark"] #saved-simulations-list-mobile .list-group-item {
        background: rgba(255, 255, 255, 0.03) !important;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    }

    #saved-simulations-list-mobile .list-group-item:active {
        transform: scale(0.98);
        box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
    }

    #saved-simulations-list-mobile .list-group-item h6 {
        font-size: 1.05rem;
        margin-bottom: 0.5rem;
        font-weight: 600;
    }

    #saved-simulations-list-mobile .list-group-item small {
        font-size: 0.85rem;
        opacity: 0.7;
    }

    #saved-simulations-list-mobile .list-group-item .btn-group {
        width: 100%;
        gap: 0.5rem;
        margin-top: 1rem;
        display: flex;
    }

    #saved-simulations-list-mobile .list-group-item .btn-group .btn {
        flex: 1;
        font-size: 0.9rem;
        padding: 0.7rem;
        border-radius: 12px;
        font-weight: 600;
        border: none;
    }

    /* Desktop strategies list - keep existing compact styles */
    #strategiesList .card {
        margin-bottom: 0.75rem !important;
    }

    #strategiesList .card-body {
        padding: 0.75rem !important;
    }

    /* Fix toggle + button overflow on desktop small screens */
    #strategiesList .card .d-flex.justify-content-between.align-items-center:last-child {
        flex-wrap: wrap !important;
        gap: 0.5rem !important;
    }

    #strategiesList .card .form-check.form-switch {
        flex: 1 1 auto;
        min-width: 150px;
        max-width: 100%;
        margin-bottom: 0 !important;
    }

    #strategiesList .card .form-check-label {
        font-size: 0.75rem !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    #strategiesList .card .run-backtest-btn {
        font-size: 0.75rem !important;
        padding: 0.35rem 0.5rem !important;
        white-space: nowrap !important;
        flex-shrink: 0 !important;
    }

    /* Saved Simulations card header on mobile */
    .card-header h5 {
        font-size: 1.1rem;
    }

    .card-header .btn-sm {
        padding: 0.35rem 0.6rem;
        font-size: 0.85rem;
    }

    /* Library: Column reordering - add visual separation */
    .order-2.order-lg-1 {
        margin-top: 1rem;
    }

    /* Library: Cards on mobile have better shadows and spacing */
    #saved-simulations-tab-pane .card {
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
        border-radius: 12px;
    }

    [data-theme="dark"] #saved-simulations-tab-pane .card {
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    }

    /* NOTE: Removed duplicate #saved-simulations-tab-pane padding rule here - already defined above at line 1220 */

    /* Empty states on mobile */
    #saved-simulations-list .text-center {
        padding: 2rem 1rem !important;
    }

    #saved-simulations-list .text-center i.fa-inbox {
        font-size: 2.5rem !important;
    }

    #strategiesList .text-center {
        padding: 2rem 1rem !important;
    }

    #strategiesList .text-center i.fa-chart-line {
        font-size: 2.5rem !important;
    }
}

/* Desktop: Restore proper padding above mobile breakpoint */
/* CRITICAL: This overrides the mobile !important rules */
@media (min-width: 769px) {
    /* Restore padding for tab container */
    html body .tab-content {
        padding: 1rem !important;
    }

    /* Restore padding for saved simulations tab */
    html body #saved-simulations-tab-pane {
        padding: 1rem !important;
    }

    /* Extra specificity for desktop layout */
    html body .library-desktop-original + .library-mobile-first,
    html body div#saved-simulations-tab-pane {
        padding: 1rem !important;
    }
}

/* PWA Install Banner */
.pwa-install-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    border-top: 1px solid #dee2e6;
    padding: 1rem 0;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1050;
    animation: slideUp 0.3s ease-out;
    backdrop-filter: blur(10px);
}

[data-theme="dark"] .pwa-install-banner {
    background: rgba(33, 37, 41, 0.98);
    border-top-color: #495057;
}

/* Explicit text colors for better contrast */
.pwa-install-banner strong {
    font-size: 1rem;
    color: #1a1a1a;
}

[data-theme="dark"] .pwa-install-banner strong {
    color: #f0f0f0;
}

.pwa-install-banner small {
    font-size: 0.875rem;
    color: #6c757d;
}

[data-theme="dark"] .pwa-install-banner small {
    color: #adb5bd;
}

.pwa-install-banner .text-primary {
    color: var(--primary-color) !important;
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Hide banner when PWA is installed */
body.pwa-installed .pwa-install-banner {
    display: none !important;
}

/* Mobile Backtest Page - Dual Layout Toggle */
.backtest-desktop-original {
    display: block;
}

.backtest-mobile-first {
    display: none;
}

/* Show mobile layout, hide desktop on mobile */
@media (max-width: 768px) {
    .backtest-desktop-original {
        display: none !important;
    }

    .backtest-mobile-first {
        display: block !important;
    }
}

/* Adjust for mobile bottom nav */
@media (max-width: 768px) {
    .pwa-install-banner {
        bottom: calc(90px + env(safe-area-inset-bottom, 0px));
    }

    /* Mobile Dashboard Styles */

    /* Mobile Backtest Container */
    .mobile-backtest-container {
        padding: 0;
        margin: 0;
        width: 100%;
    }

    .mobile-backtest-header {
        padding: 1.5rem 1rem;
        background: linear-gradient(135deg, rgba(102, 126, 234, 0.1), rgba(118, 75, 162, 0.1));
        border-bottom: 2px solid var(--border-color);
        margin-bottom: 1rem;
    }

    [data-theme="light"] .mobile-backtest-header {
        background: linear-gradient(135deg, rgba(79, 172, 254, 0.08), rgba(0, 242, 254, 0.08));
    }

    .mobile-backtest-title {
        font-size: 1.25rem;
        font-weight: 600;
        color: var(--text-color);
        margin: 0;
    }

    .mobile-backtest-subtitle {
        font-size: 0.9rem;
        color: var(--text-color);
        opacity: 0.7;
        margin: 0.25rem 0 0 0;
    }

    /* Mobile Form Sections */
    .mobile-form-section {
        background: var(--card-bg);
        border-radius: 12px;
        margin-bottom: 1rem;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
        overflow: hidden;
    }

    [data-theme="dark"] .mobile-form-section {
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    }

    .mobile-form-section.mobile-section-collapsible {
        border: 1px solid var(--border-color);
    }

    /* Mobile Section Header */
    .mobile-section-header {
        display: flex;
        align-items: center;
        padding: 1rem;
        gap: 0.75rem;
        background: transparent;
    }

    .mobile-section-toggle {
        width: 100%;
        text-align: left;
        background: transparent;
        border: none;
        cursor: pointer;
        transition: background 0.2s ease;
    }

    .mobile-section-toggle:active {
        background: rgba(0, 0, 0, 0.05);
    }

    [data-theme="dark"] .mobile-section-toggle:active {
        background: rgba(255, 255, 255, 0.05);
    }

    .mobile-section-icon {
        width: 44px;
        height: 44px;
        background: linear-gradient(135deg, #667eea, #764ba2);
        border-radius: 12px;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
        box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
    }

    [data-theme="light"] .mobile-section-icon {
        background: linear-gradient(135deg, #4facfe, #00f2fe);
        box-shadow: 0 2px 8px rgba(79, 172, 254, 0.3);
    }

    .mobile-section-icon.bg-success {
        background: linear-gradient(135deg, #0ab48a, #08a075) !important;
        box-shadow: 0 2px 8px rgba(10, 180, 138, 0.3) !important;
    }

    .mobile-section-icon.bg-warning {
        background: linear-gradient(135deg, #f59e0b, #d97706) !important;
        box-shadow: 0 2px 8px rgba(245, 158, 11, 0.3) !important;
    }

    .mobile-section-icon.bg-danger {
        background: linear-gradient(135deg, #ef4444, #dc2626) !important;
        box-shadow: 0 2px 8px rgba(239, 68, 68, 0.3) !important;
    }

    .mobile-section-icon.bg-info {
        background: linear-gradient(135deg, #06b6d4, #0891b2) !important;
        box-shadow: 0 2px 8px rgba(6, 182, 212, 0.3) !important;
    }

    .mobile-section-icon.bg-secondary {
        background: linear-gradient(135deg, #6b7280, #4b5563) !important;
        box-shadow: 0 2px 8px rgba(107, 114, 128, 0.3) !important;
    }

    .mobile-section-icon i {
        color: #fff;
        font-size: 1.25rem;
    }

    .mobile-section-title {
        flex: 1;
        min-width: 0;
    }

    .mobile-section-title h6 {
        font-size: 1rem;
        font-weight: 600;
        color: var(--text-color);
        margin: 0;
        margin-bottom: 0.125rem;
    }

    .mobile-section-title small {
        font-size: 0.8rem;
        color: var(--text-color);
        opacity: 0.7;
        display: block;
        line-height: 1.2;
    }

    .mobile-section-arrow {
        width: 24px;
        height: 24px;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
        transition: transform 0.3s ease;
    }

    .mobile-section-arrow i {
        color: var(--text-color);
        opacity: 0.5;
        font-size: 0.9rem;
    }

    .mobile-section-toggle[aria-expanded="true"] .mobile-section-arrow {
        transform: rotate(180deg);
    }

    /* Mobile Section Content */
    .mobile-section-content {
        padding: 0 1rem 1rem 1rem;
    }

    .mobile-section-collapsible .mobile-section-content {
        padding: 0;
    }

    .mobile-section-collapsible .mobile-section-content.collapse:not(.show) {
        display: none;
    }

    .mobile-section-collapsible .mobile-section-content.show {
        padding: 0 1rem 1rem 1rem;
    }

    /* Mobile Form Groups */
    .mobile-form-group {
        margin-bottom: 1rem;
    }

    .mobile-form-group:last-child {
        margin-bottom: 0;
    }

    .mobile-form-label {
        display: block;
        font-size: 0.95rem;
        font-weight: 600;
        color: var(--text-color);
        margin-bottom: 0.5rem;
    }

    /* Mobile Inputs - 44px minimum touch target */
    .mobile-input {
        width: 100%;
        min-height: 48px !important;
        padding: 0.75rem !important;
        font-size: 16px !important;
        background-color: var(--input-bg);
        color: var(--text-color);
        border: 2px solid var(--border-color);
        border-radius: 10px;
        transition: all 0.3s ease;
    }

    .mobile-input:focus {
        border-color: #667eea;
        box-shadow: 0 0 0 0.25rem rgba(102, 126, 234, 0.15);
        outline: none;
    }

    [data-theme="light"] .mobile-input:focus {
        border-color: #4facfe;
        box-shadow: 0 0 0 0.25rem rgba(79, 172, 254, 0.15);
    }

    /* Mobile Radio Groups */
    .mobile-radio-group {
        display: flex;
        flex-direction: column;
        gap: 0.75rem;
    }

    .mobile-radio-item {
        display: flex;
        align-items: center;
        padding: 0.75rem;
        background: var(--input-bg);
        border: 2px solid var(--border-color);
        border-radius: 10px;
        cursor: pointer;
        transition: all 0.3s ease;
        min-height: 48px;
    }

    .mobile-radio-item:active {
        transform: scale(0.98);
    }

    .mobile-radio-item .form-check-input {
        margin-right: 0.75rem;
        margin-left: 0;
        width: 20px;
        height: 20px;
        flex-shrink: 0;
    }

    .mobile-radio-item .form-check-label {
        flex: 1;
        font-size: 0.95rem;
        font-weight: 500;
        color: var(--text-color);
        margin: 0;
    }

    .mobile-radio-item:has(.form-check-input:checked) {
        border-color: #667eea;
        background: rgba(102, 126, 234, 0.1);
    }

    [data-theme="light"] .mobile-radio-item:has(.form-check-input:checked) {
        border-color: #4facfe;
        background: rgba(79, 172, 254, 0.1);
    }

    /* Mobile Switch */
    .mobile-switch {
        padding: 0.75rem;
        background: var(--input-bg);
        border: 2px solid var(--border-color);
        border-radius: 10px;
        min-height: 48px;
        display: flex;
        align-items: center;
    }

    .mobile-switch .form-check-input {
        width: 48px;
        height: 28px;
        margin-right: 0.75rem;
        margin-left: 0;
        flex-shrink: 0;
    }

    .mobile-switch .form-check-label {
        flex: 1;
        font-size: 0.95rem;
        font-weight: 500;
        color: var(--text-color);
        margin: 0;
    }

    /* Mobile FAB */
    .mobile-fab-container {
        position: sticky;
        bottom: calc(90px + env(safe-area-inset-bottom, 0px));
        left: 0;
        right: 0;
        padding: 1rem;
        background: linear-gradient(to top, var(--bg-color) 80%, transparent);
        z-index: 100;
        margin-top: 1rem;
    }

    .mobile-fab {
        width: 100%;
        min-height: 56px !important;
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        color: #fff;
        border: none;
        border-radius: 16px;
        font-size: 1.1rem;
        font-weight: 600;
        box-shadow: 0 4px 16px rgba(102, 126, 234, 0.4);
        transition: all 0.3s ease;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 0.5rem;
    }

    .mobile-fab:active {
        transform: scale(0.97);
        box-shadow: 0 2px 8px rgba(102, 126, 234, 0.4);
    }

    [data-theme="light"] .mobile-fab {
        background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
        box-shadow: 0 4px 16px rgba(79, 172, 254, 0.4);
    }

    [data-theme="light"] .mobile-fab:active {
        box-shadow: 0 2px 8px rgba(79, 172, 254, 0.4);
    }

    /* Mobile Results Layout */
    .mobile-results {
        padding: 0;
        margin: 0;
        width: 100%;
    }

    .mobile-results-header {
        padding: 1.5rem 1rem;
        background: linear-gradient(135deg, rgba(102, 126, 234, 0.1), rgba(118, 75, 162, 0.1));
        border-bottom: 2px solid var(--border-color);
        margin-bottom: 1rem;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    [data-theme="light"] .mobile-results-header {
        background: linear-gradient(135deg, rgba(79, 172, 254, 0.08), rgba(0, 242, 254, 0.08));
    }

    .mobile-results-title {
        font-size: 1.25rem;
        font-weight: 600;
        color: var(--text-color);
        margin: 0;
    }

    .mobile-results-actions {
        display: flex;
        gap: 0.5rem;
    }

    /* Mobile Metrics Summary */
    .mobile-metrics-summary {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
        padding: 0 0.5rem;
        margin-bottom: 1rem;
    }

    .mobile-metric-card {
        background: var(--card-bg);
        border-radius: 12px;
        padding: 1rem;
        display: flex;
        align-items: center;
        gap: 0.75rem;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
        border: 2px solid transparent;
    }

    [data-theme="dark"] .mobile-metric-card {
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    }

    .mobile-metric-card.mobile-metric-primary {
        border-color: rgba(102, 126, 234, 0.3);
    }

    .mobile-metric-card.mobile-metric-success {
        border-color: rgba(10, 180, 138, 0.3);
    }

    .mobile-metric-card.mobile-metric-info {
        border-color: rgba(6, 182, 212, 0.3);
    }

    .mobile-metric-card.mobile-metric-warning {
        border-color: rgba(245, 158, 11, 0.3);
    }

    .mobile-metric-icon {
        width: 40px;
        height: 40px;
        background: rgba(102, 126, 234, 0.1);
        border-radius: 10px;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
    }

    .mobile-metric-primary .mobile-metric-icon {
        background: rgba(102, 126, 234, 0.1);
        color: #667eea;
    }

    .mobile-metric-success .mobile-metric-icon {
        background: rgba(10, 180, 138, 0.1);
        color: #0ab48a;
    }

    .mobile-metric-info .mobile-metric-icon {
        background: rgba(6, 182, 212, 0.1);
        color: #06b6d4;
    }

    .mobile-metric-warning .mobile-metric-icon {
        background: rgba(245, 158, 11, 0.1);
        color: #f59e0b;
    }

    .mobile-metric-icon i {
        font-size: 1.25rem;
    }

    .mobile-metric-content {
        flex: 1;
        min-width: 0;
    }

    .mobile-metric-label {
        font-size: 0.75rem;
        color: var(--text-color);
        opacity: 0.7;
        margin-bottom: 0.25rem;
        line-height: 1;
    }

    .mobile-metric-value {
        font-size: 1.1rem;
        font-weight: 700;
        color: var(--text-color);
        line-height: 1;
    }

    /* Mobile Chart Carousel */
    .mobile-chart-carousel {
        background: var(--card-bg);
        border-radius: 12px;
        padding: 1rem;
        margin: 0 0.5rem 1rem 0.5rem;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    }

    [data-theme="dark"] .mobile-chart-carousel {
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    }

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

    .mobile-chart-title {
        font-size: 1rem;
        font-weight: 600;
        color: var(--text-color);
        margin: 0;
    }

    .mobile-chart-nav {
        display: flex;
        align-items: center;
        gap: 0.75rem;
    }

    .mobile-chart-nav-btn {
        width: 36px;
        height: 36px;
        background: rgba(102, 126, 234, 0.1);
        border: none;
        border-radius: 8px;
        display: flex;
        align-items: center;
        justify-content: center;
        color: #667eea;
        font-size: 0.9rem;
        cursor: pointer;
        transition: all 0.2s ease;
    }

    .mobile-chart-nav-btn:active {
        transform: scale(0.95);
        background: rgba(102, 126, 234, 0.2);
    }

    [data-theme="light"] .mobile-chart-nav-btn {
        background: rgba(79, 172, 254, 0.1);
        color: #4facfe;
    }

    [data-theme="light"] .mobile-chart-nav-btn:active {
        background: rgba(79, 172, 254, 0.2);
    }

    .mobile-chart-indicator {
        font-size: 0.85rem;
        font-weight: 600;
        color: var(--text-color);
        opacity: 0.7;
    }

    .mobile-chart-container {
        position: relative;
        width: 100%;
        min-height: 250px;
    }

    .mobile-chart-slide {
        width: 100%;
    }

    /* Mobile Expandable Sections */
    .mobile-expandable-section {
        background: var(--card-bg);
        border-radius: 12px;
        margin: 0 0.5rem 0.75rem 0.5rem;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
        overflow: hidden;
    }

    [data-theme="dark"] .mobile-expandable-section {
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    }

    .mobile-expandable-header {
        width: 100%;
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 1rem;
        background: transparent;
        border: none;
        text-align: left;
        cursor: pointer;
        transition: background 0.2s ease;
    }

    .mobile-expandable-header:active {
        background: rgba(0, 0, 0, 0.05);
    }

    [data-theme="dark"] .mobile-expandable-header:active {
        background: rgba(255, 255, 255, 0.05);
    }

    .mobile-expandable-title {
        display: flex;
        align-items: center;
        gap: 0.5rem;
        font-size: 1rem;
        font-weight: 600;
        color: var(--text-color);
    }

    .mobile-expandable-arrow {
        color: var(--text-color);
        opacity: 0.5;
        transition: transform 0.3s ease;
    }

    .mobile-expandable-header[aria-expanded="true"] .mobile-expandable-arrow {
        transform: rotate(180deg);
    }

    .mobile-expandable-content {
        padding: 0;
    }

    .mobile-expandable-content.show {
        padding: 0 1rem 1rem 1rem;
    }

    /* Mobile Stat List */
    .mobile-stat-list {
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
    }

    .mobile-stat-item {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 0.75rem;
        background: var(--input-bg);
        border-radius: 8px;
        gap: 0.75rem;
    }

    .mobile-stat-label {
        font-size: 0.9rem;
        color: var(--text-color);
        opacity: 0.8;
        display: flex;
        align-items: center;
        gap: 0.5rem;
    }

    .mobile-stat-value {
        font-size: 0.95rem;
        font-weight: 600;
        color: var(--text-color);
        text-align: right;
    }

    /* Mobile Timeline */
    .mobile-timeline {
        max-height: 400px;
        overflow-y: auto;
    }

    /* Mobile Trades Table */
    .mobile-trades-table {
        max-height: 600px;
        overflow-y: auto;
    }

    /* Mobile Trade Cards */
    .mobile-trade-card {
        background: var(--card-bg);
        border-radius: 10px;
        margin-bottom: 0.75rem;
        overflow: hidden;
        border: 1px solid var(--border-color);
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
    }

    [data-theme="dark"] .mobile-trade-card {
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    }

    .mobile-trade-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 0.75rem 1rem;
        gap: 0.75rem;
        border-bottom: 1px solid var(--border-color);
    }

    .mobile-trade-header.trade-buy {
        background: linear-gradient(135deg, rgba(10, 180, 138, 0.1), rgba(10, 180, 138, 0.05));
        border-bottom-color: rgba(10, 180, 138, 0.2);
    }

    .mobile-trade-header.trade-sell {
        background: linear-gradient(135deg, rgba(239, 68, 68, 0.1), rgba(239, 68, 68, 0.05));
        border-bottom-color: rgba(239, 68, 68, 0.2);
    }

    .mobile-trade-number {
        font-size: 0.85rem;
        font-weight: 600;
        color: var(--text-color);
        opacity: 0.6;
    }

    .mobile-trade-symbol {
        flex: 1;
        font-size: 1rem;
        font-weight: 700;
        color: var(--text-color);
        text-align: center;
    }

    .mobile-trade-type {
        font-size: 0.75rem;
        padding: 0.25rem 0.5rem;
    }

    .mobile-trade-body {
        padding: 0.75rem 1rem;
    }

    .mobile-trade-row {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 0.5rem 0;
        border-bottom: 1px solid var(--border-color);
    }

    .mobile-trade-row:last-child {
        border-bottom: none;
        padding-bottom: 0;
    }

    .mobile-trade-label {
        font-size: 0.85rem;
        color: var(--text-color);
        opacity: 0.7;
        font-weight: 500;
    }

    .mobile-trade-value {
        font-size: 0.9rem;
        font-weight: 600;
        color: var(--text-color);
        text-align: right;
    }

    .mobile-trade-value.small {
        font-size: 0.8rem;
        font-weight: 500;
    }
}

/* Mobile Picks Page - Dual Layout Toggle */
.picks-desktop-original {
    display: block;
}

.picks-mobile-first {
    display: none;
}

/* Show mobile layout, hide desktop on mobile */
@media (max-width: 768px) {
    .picks-desktop-original {
        display: none !important;
    }

    .picks-mobile-first {
        display: block !important;
    }

    /* Mobile Picks Container */
    .mobile-picks-container {
        padding: 0;
        margin: 0;
        width: 100%;
    }

    .mobile-picks-header {
        padding: 1.5rem 1rem;
        background: linear-gradient(135deg, rgba(102, 126, 234, 0.1), rgba(118, 75, 162, 0.1));
        border-bottom: 2px solid var(--border-color);
        margin-bottom: 1rem;
    }

    [data-theme="light"] .mobile-picks-header {
        background: linear-gradient(135deg, rgba(79, 172, 254, 0.08), rgba(0, 242, 254, 0.08));
    }

    .mobile-picks-title {
        font-size: 1.25rem;
        font-weight: 600;
        color: var(--text-color);
        margin: 0;
    }

    .mobile-picks-subtitle {
        font-size: 0.9rem;
        color: var(--text-color);
        opacity: 0.7;
        margin: 0.25rem 0 0 0;
    }

    /* Mobile Alert Components */
    .mobile-alert {
        display: flex;
        gap: 0.75rem;
        padding: 1rem;
        border-radius: 12px;
        margin-bottom: 1rem;
    }

    .mobile-alert-icon {
        width: 40px;
        height: 40px;
        border-radius: 10px;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
    }

    .mobile-alert-icon i {
        font-size: 1.25rem;
    }

    .mobile-alert-content {
        flex: 1;
    }

    .mobile-alert-title {
        font-size: 1rem;
        font-weight: 600;
        margin-bottom: 0.25rem;
    }

    .mobile-alert-text {
        font-size: 0.9rem;
        margin-bottom: 0.5rem;
        line-height: 1.4;
    }

    .mobile-alert-text:last-child {
        margin-bottom: 0;
    }

    .mobile-alert-link {
        font-size: 0.9rem;
        text-decoration: underline;
        font-weight: 500;
    }

    .mobile-alert-button {
        display: inline-flex;
        align-items: center;
        gap: 0.5rem;
        padding: 0.5rem 1rem;
        border-radius: 8px;
        font-size: 0.9rem;
        font-weight: 500;
        border: none;
        cursor: pointer;
        transition: all 0.2s ease;
    }

    .mobile-alert-button:active {
        transform: scale(0.98);
    }

    /* Info Alert */
    .mobile-alert-info {
        background: rgba(10, 124, 255, 0.1);
        border: 1px solid rgba(10, 124, 255, 0.2);
    }

    .mobile-alert-info .mobile-alert-icon {
        background: rgba(10, 124, 255, 0.15);
        color: #0a7cff;
    }

    .mobile-alert-info .mobile-alert-link {
        color: #0a7cff;
    }

    [data-theme="light"] .mobile-alert-info {
        background: rgba(79, 172, 254, 0.1);
        border-color: rgba(79, 172, 254, 0.2);
    }

    [data-theme="light"] .mobile-alert-info .mobile-alert-icon {
        background: rgba(79, 172, 254, 0.15);
        color: #4facfe;
    }

    /* Success Alert */
    .mobile-alert-success {
        background: rgba(10, 180, 138, 0.1);
        border: 1px solid rgba(10, 180, 138, 0.2);
    }

    .mobile-alert-success .mobile-alert-icon {
        background: rgba(10, 180, 138, 0.15);
        color: #0ab48a;
    }

    .mobile-alert-success .mobile-alert-button {
        background: rgba(10, 180, 138, 0.15);
        color: #0ab48a;
    }

    .mobile-alert-success .mobile-alert-button:active {
        background: rgba(10, 180, 138, 0.25);
    }

    /* Warning Alert */
    .mobile-alert-warning {
        background: rgba(245, 158, 11, 0.1);
        border: 1px solid rgba(245, 158, 11, 0.2);
    }

    .mobile-alert-warning .mobile-alert-icon {
        background: rgba(245, 158, 11, 0.15);
        color: #f59e0b;
    }

    .mobile-alert-warning .mobile-alert-button {
        background: rgba(245, 158, 11, 0.15);
        color: #f59e0b;
        text-decoration: none;
    }

    .mobile-alert-warning .mobile-alert-button:active {
        background: rgba(245, 158, 11, 0.25);
    }

    /* Danger Alert */
    .mobile-alert-danger {
        background: rgba(239, 68, 68, 0.1);
        border: 1px solid rgba(239, 68, 68, 0.2);
    }

    .mobile-alert-danger .mobile-alert-icon {
        background: rgba(239, 68, 68, 0.15);
        color: #ef4444;
    }

    /* Mobile Form Help Text */
    .mobile-form-help {
        display: block;
        font-size: 0.85rem;
        color: var(--text-color);
        opacity: 0.7;
        margin-top: 0.25rem;
    }

    /* Mobile Picks List */
    .mobile-picks-list {
        padding: 0 0.5rem;
    }

    .mobile-pick-card {
        background: var(--card-bg);
        border-radius: 12px;
        padding: 1rem;
        margin-bottom: 0.75rem;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
        border: 2px solid transparent;
        transition: all 0.2s ease;
    }

    .mobile-pick-card:active {
        transform: scale(0.98);
    }

    [data-theme="dark"] .mobile-pick-card {
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    }

    .mobile-pick-header {
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
        margin-bottom: 0.75rem;
    }

    .mobile-pick-symbol {
        flex: 1;
    }

    .mobile-pick-name {
        font-size: 1.1rem;
        font-weight: 600;
        color: var(--text-color);
        margin-bottom: 0.25rem;
    }

    .mobile-pick-exchange {
        display: inline-flex;
        align-items: center;
    }

    .mobile-pick-badge {
        padding: 0.25rem 0.5rem;
        background: rgba(108, 117, 125, 0.2);
        border-radius: 6px;
        font-size: 0.75rem;
        font-weight: 500;
        color: #6c757d;
    }

    .mobile-pick-body {
        display: flex;
        gap: 1rem;
        padding-top: 0.75rem;
        border-top: 1px solid var(--border-color);
    }

    .mobile-pick-stat {
        flex: 1;
    }

    .mobile-pick-stat-label {
        font-size: 0.75rem;
        color: var(--text-color);
        opacity: 0.7;
        margin-bottom: 0.25rem;
    }

    .mobile-pick-stat-value {
        font-size: 0.95rem;
        font-weight: 600;
        color: var(--text-color);
    }

    .mobile-pick-price {
        text-align: right;
    }

    .mobile-pick-price-value {
        font-size: 1.1rem;
        font-weight: 700;
        color: var(--text-color);
    }

    .mobile-pick-footer {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding-top: 0.75rem;
        border-top: 1px solid var(--border-color);
    }

    .mobile-pick-date {
        font-size: 0.85rem;
        color: var(--text-color);
        opacity: 0.7;
        display: flex;
        align-items: center;
        gap: 0.25rem;
    }

    .mobile-pick-change {
        font-size: 1rem;
        font-weight: 600;
        display: flex;
        align-items: center;
        gap: 0.25rem;
    }

    .mobile-pick-change.positive {
        color: #0ab48a;
    }

    .mobile-pick-change.negative {
        color: #ef4444;
    }

    /* Mobile Results Badge */
    .mobile-results-badge {
        padding: 0.35rem 0.75rem;
        border-radius: 8px;
        font-size: 0.85rem;
        font-weight: 600;
        background: rgba(10, 180, 138, 0.15);
        color: #0ab48a;
    }

    .mobile-results-badge.no-results {
        background: rgba(108, 117, 125, 0.15);
        color: #6c757d;
    }

    /* Mobile Empty State */
    .mobile-empty-state {
        text-align: center;
        padding: 3rem 1rem;
    }

    .mobile-empty-icon {
        font-size: 3rem;
        color: var(--text-color);
        opacity: 0.3;
        margin-bottom: 1rem;
    }

    .mobile-empty-text {
        font-size: 1rem;
        color: var(--text-color);
        opacity: 0.7;
        margin-bottom: 0.5rem;
    }

    .mobile-empty-hint {
        font-size: 0.85rem;
        color: var(--text-color);
        opacity: 0.5;
    }
}
