/* FinTask — Light mode overrides */
[data-theme="light"] {
    --bg:      #f8fafc;
    --surface: #ffffff;
    --surface2:#f1f5f9;
    --border:  #e2e8f0;
    --text:    #1e293b;
    --muted:   #64748b;
}

[data-theme="light"] body {
    background: var(--bg);
    color: var(--text);
}

/* Fix hardcoded dark backgrounds that don't use CSS vars */
[data-theme="light"] input,
[data-theme="light"] select,
[data-theme="light"] textarea {
    background: var(--surface) !important;
    color: var(--text) !important;
    border-color: var(--border) !important;
}

[data-theme="light"] select option {
    background: var(--surface);
    color: var(--text);
}

/* Scrollbar */
[data-theme="light"] ::-webkit-scrollbar-track { background: var(--bg); }
[data-theme="light"] ::-webkit-scrollbar-thumb { background: var(--border); }

/* Theme toggle button */
#theme-toggle {
    position: fixed;
    bottom: 22px;
    right: 22px;
    z-index: 9999;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--surface);
    border: 1px solid var(--border);
    color: var(--text);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.05rem;
    box-shadow: 0 2px 12px rgba(0,0,0,.25);
    transition: transform .15s, box-shadow .15s;
    font-family: inherit;
}
#theme-toggle:hover {
    transform: scale(1.12);
    box-shadow: 0 4px 18px rgba(0,0,0,.35);
}
