:root {
    --bg-dark: #0a0b10;
    --card-bg-dark: rgba(20, 22, 35, 0.7);
    --glass-border: rgba(255, 255, 255, 0.1);
    --accent-blue: #3b82f6;
    --accent-green: #10b981;
    --accent-red: #ef4444;
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;

    --bg-light: #f1f5f9;
    --card-bg-light: rgba(255, 255, 255, 0.8);
    --text-primary-light: #0f172a;
    --text-secondary-light: #475569;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Outfit', sans-serif;
}

body {
    background: var(--bg-dark);
    color: var(--text-primary);
    overflow: hidden;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: background 0.3s ease;
}

body.auth-locked .glass-container {
    filter: blur(10px);
    pointer-events: none;
    user-select: none;
}

.auth-overlay {
    position: fixed;
    inset: 0;
    z-index: 3000;
    display: none;
    align-items: center;
    justify-content: center;
    background:
        radial-gradient(circle at bottom right, rgba(30, 64, 175, 0.15), transparent 35%),
        rgba(0, 0, 0, 0.92);
    padding: 24px;
}

body.auth-locked .auth-overlay {
    display: flex;
}

.auth-card {
    width: min(100%, 500px);
    background: linear-gradient(180deg, rgba(11, 18, 33, 0.98), rgba(8, 14, 28, 0.98));
    border: 1px solid rgba(59, 130, 246, 0.24);
    border-radius: 20px;
    padding: 28px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
}

.auth-card h1 {
    font-size: 20px;
    margin-bottom: 10px;
}

.auth-card p {
    color: var(--text-secondary);
    margin-bottom: 22px;
}

.auth-form {
    display: grid;
    gap: 16px;
}

.auth-input-wrap {
    position: relative;
}

.auth-input-wrap input {
    width: 100%;
    background: rgba(3, 7, 18, 0.95);
    border: 1px solid rgba(59, 130, 246, 0.28);
    padding: 16px 52px 16px 16px;
    border-radius: 14px;
    color: #fff;
    font-size: 15px;
    outline: none;
}

.auth-input-wrap input:focus {
    border-color: rgba(96, 165, 250, 0.8);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.14);
}

.auth-toggle-btn {
    position: absolute;
    top: 50%;
    right: 12px;
    transform: translateY(-50%);
    border: 0;
    background: transparent;
    color: #7ec2ff;
    cursor: pointer;
    width: 34px;
    height: 34px;
}

.auth-submit-btn {
    width: 100%;
    padding: 14px 18px;
    font-size: 15px;
}

.auth-error {
    min-height: 20px;
    color: #fda4af;
    font-size: 13px;
    margin-top: 8px;
}

body.light-mode {
    background: var(--bg-light);
    color: var(--text-primary-light);
}

.glass-container {
    width: 95vw;
    height: 90vh;
    background: var(--card-bg-dark);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    display: flex;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

body.light-mode .glass-container {
    background: var(--card-bg-light);
    color: var(--text-primary-light);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.1);
}

body.light-mode .auth-card {
    background: linear-gradient(180deg, #ffffff, #f8fbff);
    border-color: rgba(59, 130, 246, 0.16);
}

body.light-mode .auth-card p {
    color: var(--text-secondary-light);
}

body.light-mode .auth-input-wrap input {
    background: #fff;
    color: #0f172a;
    border-color: #bfd3ea;
}

/* Sidebar */
.sidebar {
    width: 260px;
    border-right: 1px solid var(--glass-border);
    padding: 30px;
    display: flex;
    flex-direction: column;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 50px;
}

.logo i {
    color: var(--accent-blue);
    font-size: 28px;
}

nav ul {
    list-style: none;
}

nav li {
    margin-bottom: 20px;
}

nav a {
    text-decoration: none;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px 15px;
    border-radius: 12px;
    transition: all 0.3s ease;
}

body.light-mode nav a {
    color: var(--text-secondary-light);
}

nav li.active a,
nav a:hover {
    background: rgba(59, 130, 246, 0.1);
    color: var(--accent-blue);
}

.bot-status {
    margin-top: auto;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 12px;
}

.status-indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--accent-red);
}

.status-indicator.online {
    background: var(--accent-green);
    box-shadow: 0 0 10px var(--accent-green);
}

/* Main Content */
.content {
    flex: 1;
    padding: 40px;
    overflow-y: auto;
}

header {
    margin-bottom: 30px;
}

.welcome {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 20px;
    font-weight: 700;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
    background: rgba(0, 0, 0, 0.2);
    padding: 10px 20px;
    border-radius: 12px;
    border: 1px solid var(--glass-border);
}

#current-activity {
    margin: 15px 0;
    font-size: 14px;
    font-weight: 400;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.theme-toggle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    border: 1px solid var(--glass-border);
}

.balance-card {
    background: linear-gradient(135deg, #3b82f6, #2561eb);
    padding: 10px 20px;
    border-radius: 14px;
    display: flex;
    flex-direction: column;
    color: #fff;
    min-width: 150px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 12px;
    margin-bottom: 30px;
}

.stat-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    padding: 20px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.stat-icon {
    width: 50px;
    height: 50px;
    border-radius: 14px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 20px;
}

.pnl-icon {
    background: rgba(16, 185, 129, 0.1);
    color: var(--accent-green);
}

.trades-icon {
    background: rgba(59, 130, 246, 0.1);
    color: var(--accent-blue);
}

.holdings-icon {
    background: rgba(245, 158, 11, 0.1);
    color: #f59e0b;
}

.uptime-icon {
    background: rgba(139, 92, 246, 0.1);
    color: #8b5cf6;
}

.stat-info h3 {
    font-size: 14px;
    color: var(--text-secondary);
    font-weight: 400;
}

.stat-info p {
    font-size: 18px;
    font-weight: 700;
}

/* Panels */
.main-grid {
    display: grid;
    grid-template-columns: 2fr 1.2fr;
    gap: 30px;
    margin-bottom: 30px;
}

.glass-panel {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 25px;
}

.panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.panel-header h2 {
    font-size: 18px;
}

.view-all {
    font-size: 12px;
    color: var(--accent-blue);
    cursor: pointer;
}

.trades-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.trade-item {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 16px;
    padding: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.trade-coin {
    display: flex;
    align-items: center;
    gap: 12px;
}

.coin-icon {
    width: 40px;
    height: 40px;
    background: #fff;
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 700;
    color: #000;
}

.coin-info .name {
    font-weight: 600;
}

.coin-info .price {
    font-size: 12px;
    color: var(--text-secondary);
}

.trade-perf {
    text-align: right;
}

.trade-perf .pnl {
    font-weight: 700;
}

.pnl.plus {
    color: var(--accent-green);
}

.pnl.minus {
    color: var(--accent-red);
}

.logs-container {
    height: 300px;
    overflow-y: auto;
    font-family: 'Courier New', Courier, monospace;
    font-size: 12px;
    color: #a0aec0;
}

.log-entry {
    margin-bottom: 5px;
    border-left: 2px solid var(--accent-blue);
    padding-left: 10px;
}

.empty-state {
    text-align: center;
    padding: 40px;
    color: var(--text-secondary);
}

/* Settings */
.settings-section .settings-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.input-group label {
    display: block;
    font-size: 12px;
    margin-bottom: 8px;
    color: var(--text-secondary);
}

.input-group input {
    width: 100%;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid var(--glass-border);
    padding: 12px;
    border-radius: 10px;
    color: #fff;
    cursor: not-allowed;
}

.badge {
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    display: inline-block;
}

.badge.green {
    background: rgba(16, 185, 129, 0.2);
    color: var(--accent-green);
}

.badge.yellow {
    background: rgba(245, 158, 11, 0.2);
    color: #f59e0b;
    border: 1px solid rgba(245, 158, 11, 0.35);
}

.api-mode-control {
    display: flex;
    align-items: center;
    gap: 12px;
}

#api-mode-select {
    min-width: 140px;
}

/* Buttons & Inputs */
.btn {
    padding: 12px 24px;
    border-radius: 12px;
    border: none;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn.primary {
    background: var(--accent-blue);
    color: #fff;
}

.btn.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(59, 130, 246, 0.4);
}

.btn.small {
    padding: 8px 16px;
    font-size: 13px;
}

.btn.full {
    width: 100%;
}

.glass-input {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    padding: 12px;
    border-radius: 10px;
    color: #fff;
    width: 100%;
    outline: none;
}

select.glass-input option {
    background: #0a0b10;
    color: #fff;
}

body.light-mode .glass-input {
    background: #f1f5f9;
    color: #000;
    border: 1px solid #cbd5e1;
}

body.light-mode select.glass-input option {
    background: #fff;
    color: #000;
}

body.light-mode .stat-card,
body.light-mode .glass-panel {
    background: #fff;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

body.light-mode .trade-item {
    background: #f8fafc;
}

body.light-mode .bot-status {
    background: rgba(0, 0, 0, 0.05);
}

body.light-mode .slider {
    background: #cbd5e1;
}

body.light-mode .logs-container {
    color: #334155;
}

body.light-mode .input-group input {
    background: #f1f5f9;
    color: #000;
    border: 1px solid #cbd5e1;
}

body.light-mode .stat-info h3,
body.light-mode .panel-header h2,
body.light-mode .empty-state,
body.light-mode .coin-info .price {
    color: var(--text-secondary-light);
}

body.light-mode .stat-info p,
body.light-mode .coin-info .name,
body.light-mode .welcome h1 {
    color: var(--text-primary-light);
}

.input-with-button {
    display: flex;
    gap: 10px;
}

.slider {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 5px;
    outline: none;
}

.slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 18px;
    height: 18px;
    background: var(--accent-blue);
    border-radius: 50%;
    cursor: pointer;
}

.divider {
    height: 1px;
    background: var(--glass-border);
    margin: 30px 0;
}

.control-group.full-width {
    grid-column: span 3;
}

.favorites-panel {
    position: relative;
}

.favorites-toggle {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--text-secondary);
    font-size: 13px;
    cursor: pointer;
}

.favorites-toggle input {
    accent-color: var(--accent-blue);
}

.favorites-summary {
    color: var(--text-secondary);
    margin-bottom: 18px;
    line-height: 1.5;
}

.favorites-controls {
    display: grid;
    gap: 16px;
}

.favorites-dropdown-wrap {
    position: relative;
}

.favorites-dropdown-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    text-align: left;
}

.favorites-dropdown-panel {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    width: 100%;
    background: #101521;
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 14px;
    z-index: 50;
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
}

.favorites-options-list {
    display: grid;
    gap: 10px;
    max-height: 280px;
    overflow-y: auto;
}

.favorites-option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 10px 12px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.favorites-option label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    flex: 1;
}

.favorites-option input {
    accent-color: var(--accent-blue);
}

.favorites-option-meta {
    font-size: 12px;
    color: var(--text-secondary);
    white-space: nowrap;
}

.favorites-dropdown-actions {
    display: flex;
    justify-content: flex-end;
    margin-top: 14px;
}

.favorites-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    min-height: 42px;
}

.favorite-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 999px;
    border: 1px solid rgba(59, 130, 246, 0.3);
    background: rgba(59, 130, 246, 0.14);
    color: #cfe3ff;
    font-size: 13px;
    cursor: pointer;
}

.favorite-tag i {
    font-size: 11px;
    opacity: 0.8;
}

.favorites-empty {
    color: var(--text-secondary);
    font-size: 13px;
    padding: 8px 0;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
}

/* Custom Modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.modal-content {
    background: var(--bg-dark);
    padding: 30px;
    border-radius: 16px;
    max-width: 400px;
    width: 90%;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.modal-content h3 {
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 22px;
}

.modal-content p {
    margin-bottom: 25px;
    color: var(--text-secondary);
    font-size: 16px;
}

.modal-actions {
    display: flex;
    justify-content: center;
    gap: 15px;
}

body.light-mode .modal-content {
    background: var(--bg-light);
    color: var(--text-primary-light);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

body.light-mode .modal-overlay {
    background: rgba(0, 0, 0, 0.3);
}

body.light-mode .modal-content p {
    color: var(--text-secondary-light);
}

body.light-mode .favorites-dropdown-panel {
    background: #ffffff;
    border-color: #dbe5f1;
}

body.light-mode .favorites-option {
    background: #f8fafc;
    border-color: #e2e8f0;
}

body.light-mode .favorite-tag {
    background: rgba(59, 130, 246, 0.12);
    color: #1d4ed8;
}

.bot-toggle-container {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.bot-toggle-container label {
    font-size: 10px;
    opacity: 0.6;
    text-transform: uppercase;
    font-weight: 600;
}

.small-input {
    padding: 6px 12px;
    font-size: 13px;
    height: auto;
}

.commissions-icon {
    background: rgba(239, 68, 68, 0.1);
    color: var(--accent-red);
}

.btn.outline {
    background: transparent;
    border: 1px solid var(--glass-border);
    color: var(--text-secondary);
}

.btn.outline:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
    border-color: var(--accent-red);
}

body.light-mode .btn.outline:hover {
    background: #fee2e2;
    color: var(--accent-red);
    border-color: var(--accent-red);
}

body.light-mode .btn.outline {
    border: 1px solid #cbd5e1;
}

body.light-mode .btn.outline:hover {
    background: #f1f5f9;
}

.badge-status {
    font-size: 10px;
    padding: 3px 8px;
    border-radius: 6px;
    font-weight: 700;
    text-transform: uppercase;
    margin-left: 10px;
    letter-spacing: 0.5px;
}

.badge-status.demo {
    background: rgba(16, 185, 129, 0.2);
    color: var(--accent-green);
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.badge-status.real {
    background: rgba(245, 158, 11, 0.2);
    color: #f59e0b;
    border: 1px solid rgba(245, 158, 11, 0.35);
    box-shadow: 0 0 10px rgba(245, 158, 11, 0.2);
}

.report-pill {
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(16, 185, 129, 0.14);
    border: 1px solid rgba(16, 185, 129, 0.28);
    color: #7ff0bf;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.reports-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
    margin-bottom: 22px;
}

.report-range-tabs,
.report-downloads {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.report-range-btn {
    border: 1px solid var(--glass-border);
    background: rgba(255, 255, 255, 0.04);
    color: var(--text-secondary);
    border-radius: 999px;
    padding: 10px 16px;
    cursor: pointer;
    font-weight: 600;
}

.report-range-btn.active {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.22), rgba(16, 185, 129, 0.18));
    color: var(--text-primary);
    border-color: rgba(59, 130, 246, 0.45);
}

.report-summary-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 12px;
    margin-bottom: 18px;
}

.report-stat-card {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
    border: 1px solid var(--glass-border);
    border-radius: 18px;
    padding: 16px;
}

.report-stat-card span {
    display: block;
    color: var(--text-secondary);
    font-size: 12px;
    margin-bottom: 8px;
}

.report-stat-card strong {
    display: block;
    font-size: 22px;
    font-weight: 700;
}

.report-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 18px;
    margin-bottom: 18px;
}

.report-chart-panel,
.report-side-panel,
.report-trades-panel {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    border-radius: 22px;
    padding: 18px;
}

.report-block-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
}

.report-block-head h3 {
    font-size: 16px;
}

.report-meta {
    color: var(--text-secondary);
    font-size: 12px;
}

.report-chart {
    min-height: 290px;
    border-radius: 18px;
    overflow: hidden;
    background:
        radial-gradient(circle at top left, rgba(59, 130, 246, 0.18), transparent 38%),
        linear-gradient(180deg, rgba(10, 14, 22, 0.95), rgba(8, 10, 16, 0.92));
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.report-chart svg {
    display: block;
    width: 100%;
    height: 100%;
}

.report-meta-list {
    display: grid;
    gap: 12px;
}

.report-meta-row {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.report-meta-row:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.report-meta-row span {
    color: var(--text-secondary);
    font-size: 12px;
}

.report-meta-row strong {
    text-align: right;
}

.report-table-wrap {
    overflow-x: auto;
}

.report-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 760px;
}

.report-table th,
.report-table td {
    text-align: left;
    padding: 12px 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    font-size: 13px;
}

.report-table th {
    color: var(--text-secondary);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.report-table .net-plus {
    color: var(--accent-green);
    font-weight: 700;
}

.report-table .net-minus {
    color: var(--accent-red);
    font-weight: 700;
}

body.light-mode .report-pill {
    background: rgba(16, 185, 129, 0.12);
    color: #047857;
    border-color: rgba(16, 185, 129, 0.22);
}

body.light-mode .report-range-btn {
    background: #fff;
    color: var(--text-secondary-light);
    border-color: #d7e0ea;
}

body.light-mode .report-range-btn.active {
    color: var(--text-primary-light);
}

body.light-mode .report-stat-card,
body.light-mode .report-chart-panel,
body.light-mode .report-side-panel,
body.light-mode .report-trades-panel {
    background: #fff;
    border-color: #e2e8f0;
}

body.light-mode .report-chart {
    background:
        radial-gradient(circle at top left, rgba(59, 130, 246, 0.14), transparent 38%),
        linear-gradient(180deg, #f8fbff, #eef4fa);
    border-color: #dbe6f0;
}

body.light-mode .report-stat-card span,
body.light-mode .report-meta,
body.light-mode .report-meta-row span,
body.light-mode .report-table th {
    color: var(--text-secondary-light);
}

@media (max-width: 1400px) {
    .report-summary-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 1100px) {
    .stats-grid,
    .settings-section .settings-grid,
    .report-layout,
    .main-grid {
        grid-template-columns: 1fr;
    }

    .report-summary-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .control-group.full-width {
        grid-column: auto;
    }
}

@media (max-width: 720px) {
    body {
        height: auto;
        min-height: 100vh;
        overflow: auto;
    }

    .glass-container {
        width: 100%;
        height: auto;
        min-height: 100vh;
        border-radius: 0;
        flex-direction: column;
    }

    .sidebar {
        width: 100%;
        border-right: 0;
        border-bottom: 1px solid var(--glass-border);
    }

    .content {
        padding: 22px;
    }

    .welcome,
    .reports-toolbar {
        flex-direction: column;
        align-items: flex-start;
    }

    .header-actions,
    .report-downloads,
    .report-range-tabs {
        width: 100%;
    }

    .report-range-btn,
    .report-download-btn {
        flex: 1 1 calc(50% - 10px);
    }

    .report-summary-grid {
        grid-template-columns: 1fr;
    }
}
