#warningMessage {
    display: none;
}

@media only screen and (orientation: portrait) {
    #app {
        display: none;
    }

    #warningMessage {
        height: 100vh;
        display: flex;
        justify-content: center;
        align-items: center;
        color: var(--text-muted, #94a3b8);
    }
}

/* Filter Grid Layout */
.gmoney-filter-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
    margin-bottom: 1.5rem;
    width: 100%;
}

@media (max-width: 1200px) {
    .gmoney-filter-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .gmoney-filter-grid {
        grid-template-columns: 1fr;
    }
}

/* Glass Filter Cards */
.gmoney-filter-card {
    background: rgba(30, 41, 59, 0.6);
    border: 1px solid var(--border, rgba(255, 255, 255, 0.12));
    border-radius: 12px;
    padding: 1.25rem;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
}

.gmoney-filter-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #ffffff;
    margin-top: 0;
    margin-bottom: 0.85rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    text-align: left;
}

fieldset {
    border: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.two-column-fieldset {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.35rem 0.75rem;
}

.single-column-fieldset {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

/* Filter Option Items */
.filter-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.4rem 0.65rem;
    border-radius: 8px;
    background: rgba(15, 23, 42, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.2s ease;
    cursor: pointer;
    user-select: none;
}

.filter-item:hover {
    background: rgba(99, 102, 241, 0.15);
    border-color: rgba(99, 102, 241, 0.3);
}

.filter-item label {
    font-size: 0.85rem;
    font-weight: 500;
    color: #cbd5e1;
    cursor: pointer;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.filter-item input[type="checkbox"] {
    accent-color: var(--accent, #6366f1);
    width: 16px;
    height: 16px;
    cursor: pointer;
    margin: 0;
}

/* Summary Stats Grid */
.gmoney-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
    margin-bottom: 1.5rem;
}

@media (max-width: 900px) {
    .gmoney-stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.gmoney-stat-card {
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.7) 0%, rgba(15, 23, 42, 0.8) 100%);
    border: 1px solid var(--border, rgba(255, 255, 255, 0.12));
    border-radius: 12px;
    padding: 1.25rem;
    text-align: center;
}

.gmoney-stat-card h3 {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted, #94a3b8);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin: 0 0 0.5rem 0;
}

.gmoney-stat-card h1 {
    font-size: 1.85rem;
    font-weight: 800;
    color: #ffffff;
    margin: 0;
}

/* Charts Grid */
.gmoney-charts-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

@media (max-width: 992px) {
    .gmoney-charts-grid {
        grid-template-columns: 1fr;
    }
}

.gmoney-chart-card {
    background: rgba(30, 41, 59, 0.6);
    border: 1px solid var(--border, rgba(255, 255, 255, 0.12));
    border-radius: 12px;
    padding: 1.25rem;
    box-sizing: border-box;
}

.gmoney-chart-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #ffffff;
    margin-top: 0;
    margin-bottom: 1rem;
    text-align: center;
}

/* C3 Dark Mode Enhancements for Pie Charts */
.c3-legend-item text {
    fill: #cbd5e1 !important;
    font-size: 12px !important;
}

.c3-chart-arc text {
    fill: #ffffff !important;
    font-weight: 700 !important;
}
