/* Importação de uma fonte limpa */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;700&display=swap');
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0-beta3/css/all.min.css');


/* ----- Configuração Geral (Tema Escuro Padrão) ----- */
body {
    font-family: 'Roboto', sans-serif;
    background-color: #121212;
    color: #FFFFFF;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
    transition: background-color 0.3s, color 0.3s;
}

/* ----- O Container Principal ----- */
.container {
    background-color: #1E1E1E;
    padding: 1rem 1.5rem; 
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    width: 90%;
    max-width: 380px; 
    text-align: center;
    position: relative; 
}

h1 {
    margin-top: 1.5rem; /* Aumentado para não bater nos botões do topo */
    color: #BB86FC;
    font-size: 1.7rem; 
}

/* ----- Seletor de Idioma (NOVO) ----- */
.lang-wrapper {
    position: absolute;
    top: 15px;
    left: 15px;
}

#language-select {
    background-color: transparent;
    color: #AAA;
    border: 1px solid #444;
    border-radius: 5px;
    padding: 2px 5px;
    font-size: 0.85rem;
    cursor: pointer;
    outline: none;
    transition: all 0.3s;
}

#language-select:hover {
    color: #03DAC5;
    border-color: #03DAC5;
}

/* Ajuste para as opções ficarem legíveis */
#language-select option {
    background-color: #1E1E1E;
    color: #FFF;
}

/* ----- Contador de Ciclos ----- */
#cycle-counter {
    margin-top: 10px;
    font-size: 1rem; 
    color: #03DAC5;
    font-weight: 500;
}

/* ----- O Timer ----- */
.timer {
    font-size: 4rem; 
    font-weight: 700;
    margin: 1.5rem 0;
    color: #FFFFFF;
}

/* --- Estilização do Tempo Configurável --- */
.time-config {
    display: flex;
    justify-content: space-between; 
    gap: 5px; 
    margin-top: 1rem;
    margin-bottom: 1rem; 
    padding: 0; 
    width: 100%;
    flex-wrap: wrap; 
}

.time-group {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.time-config label {
    font-size: 0.85rem; 
    color: #AAA;
    margin-bottom: 4px; 
    font-weight: 500;
    text-align: center;
}

.focus-inputs {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0px; 
}

.focus-inputs input {
    width: 30px !important; 
    font-size: 0.95rem !important; 
    padding: 5px 7px; 
}

.focus-inputs span {
    font-size: 0.75rem; 
    color: #AAA;
    margin-right: 0px; 
    margin-left: 2px; 
}

.time-config input[type="number"] {
    width: 50px; 
    padding: 5px 8px; 
    border: 1px solid #444;
    border-radius: 8px;
    background-color: #333;
    color: #FFFFFF;
    text-align: center;
    font-size: 1rem;
    font-weight: 700;
    margin: 0;
}

.time-config input::-webkit-outer-spin-button,
.time-config input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* ----- Toggle Início Automático ----- */
.toggle-container {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    gap: 10px;
}

.toggle-container .label-text {
    font-size: 0.9rem;
    color: #AAA;
    font-weight: 500;
}

.switch {
    position: relative;
    display: inline-block;
    width: 40px;
    height: 20px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #333;
    transition: .4s;
    border-radius: 34px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 14px;
    width: 14px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

input:checked + .slider {
    background-color: #03DAC5;
}

input:checked + .slider:before {
    transform: translateX(20px);
}


/* ----- Botões de Controle ----- */
.controls {
    margin-bottom: 1.5rem;
    display: flex;           
    justify-content: center; 
    gap: 5px;               
}

.controls button {
    border: none;
    padding: 0.6rem 1.2rem; 
    border-radius: 5px;
    font-size: 1rem; 
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
}

#btn-start-pause {
    background-color: #03DAC5;
    color: #121212;
}

#btn-reset {
    background-color: #CF6679;
    color: #121212;
}

#btn-skip {
    background-color: #BB86FC;
    color: #121212;
}

.controls button:hover {
    opacity: 0.8;
}

/* ----- Seletor de Sons ----- */
.sound-picker h3 {
    margin-bottom: 0.8rem;
    font-weight: 400;
    color: #AAA;
    font-size: 0.9rem;
}

.sound-btn {
    background-color: #333;
    color: #AAA;
    border: none;
    padding: 0.3rem 0.7rem; 
    margin: 0 3px 8px 3px; 
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 0.85rem; 
}

.sound-btn.active {
    background-color: #03DAC5;
    color: #121212;
    font-weight: 700;
}

#volume-slider {
    width: 80%;
    margin-top: 8px;
}

/* Botão de Alternar Tema */
#btn-theme-toggle {
    position: absolute;
    top: 15px;
    right: 15px; /* Ajustado margem */
    background: none;
    border: none;
    font-size: 1.3rem; 
    color: #03DAC5;
    cursor: pointer;
    transition: color 0.3s;
}

#btn-theme-toggle::before {
    content: "\f186"; 
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
}


/* ---------------------------------------------------------------------- */
/* ☀️ TEMA CLARO (Light Mode) */
/* ---------------------------------------------------------------------- */
body.light-mode {
    background-color: #F0F2F5;
    color: #333333;
}

body.light-mode .container {
    background-color: #FFFFFF;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

body.light-mode h1 {
    color: #0077B6;
}

body.light-mode #language-select {
    color: #666;
    border-color: #CCC;
}
body.light-mode #language-select option {
    background-color: #FFF;
    color: #333;
}

body.light-mode #cycle-counter {
    color: #00A896;
}

body.light-mode .timer {
    color: #1A1A1A;
}

body.light-mode .time-config input[type="number"] {
    background-color: #F8F8F8;
    color: #1A1A1A;
    border: 1px solid #CCCCCC;
}

body.light-mode .focus-inputs span {
    color: #666;
}

body.light-mode .time-config label,
body.light-mode .sound-picker h3 {
    color: #666;
}

body.light-mode .toggle-container .label-text {
    color: #666;
}
body.light-mode .slider {
    background-color: #CCC;
}
body.light-mode input:checked + .slider {
    background-color: #00A896;
}

body.light-mode #btn-start-pause {
    background-color: #00A896;
    color: #FFFFFF;
}

body.light-mode #btn-reset {
    background-color: #E74C3C;
    color: #FFFFFF;
}

body.light-mode #btn-skip {
    background-color: #8E44AD;
    color: #FFFFFF;
}

body.light-mode .sound-btn {
    background-color: #E0E0E0;
    color: #666;
}

body.light-mode .sound-btn.active {
    background-color: #00A896;
    color: #FFFFFF;
}

body.light-mode #btn-theme-toggle {
    color: #0077B6;
}

body.light-mode #btn-theme-toggle::before {
    content: "\f185";
}

/* ============================================================
   AJUSTES ESPECÍFICOS PARA ESPANHOL (Evitar quebra de layout)
   ============================================================ */

/* Diminui o título principal pois "Generador de Enfoque" é grande */
body.es-mode h1 {
    font-size: 1.5rem; 
    margin-top: 2.5rem; /* Mais espaço no topo */
}

/* Ajusta os botões de controle (Iniciar, Pular...) */
body.es-mode .controls button {
    font-size: 0.85rem; /* Fonte menor */
    padding: 0.6rem 0.8rem; /* Menos preenchimento lateral */
}

/* Ajusta as etiquetas de tempo (Focar, Pausa...) */
body.es-mode .time-config label {
    font-size: 0.8rem;
    white-space: nowrap; /* Tenta evitar quebra de linha no label */
}

/* Ajusta o container dos inputs de tempo para não estourar */
body.es-mode .time-group {
    min-width: 70px; /* Permite ficar um pouco menor */
}

/* Ajusta o texto do Toggle (Inicio Automático) */
body.es-mode .toggle-container .label-text {
    font-size: 0.85rem;
}

/* Seletor de sons: diminui levemente a fonte dos botões */
body.es-mode .sound-btn {
    font-size: 0.8rem;
    padding: 0.3rem 0.5rem;
}

/* ================================================================
   FOCO WAVE V1.3 — NOVOS ESTILOS
   ================================================================ */

/* ----- Utilitário ----- */
.hidden { display: none !important; }

/* ----- Toast ----- */
.toast {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(25, 25, 25, 0.95);
    color: #FFF;
    padding: 10px 22px;
    border-radius: 20px;
    font-size: 0.88rem;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    z-index: 9999;
    white-space: nowrap;
    max-width: 90vw;
    box-shadow: 0 4px 20px rgba(0,0,0,0.4);
}
.toast.show { opacity: 1; }

/* ----- Login Overlay ----- */
.login-overlay {
    position: fixed;
    inset: 0;
    background: rgba(8, 8, 8, 0.97);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}
.login-card {
    background: #1E1E1E;
    border-radius: 20px;
    padding: 2.5rem 2rem;
    width: 90%;
    max-width: 360px;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.7);
}
.login-logo { font-size: 3rem; margin-bottom: 0.4rem; }
.login-title { font-size: 1.8rem; color: #BB86FC; margin: 0 0 0.5rem 0; }
.login-subtitle {
    color: #AAA;
    font-size: 0.9rem;
    margin-bottom: 1.8rem;
    line-height: 1.5;
}
.login-status-message {
    margin: -0.8rem 0 1rem 0;
    font-size: 0.78rem;
    line-height: 1.4;
    border-radius: 8px;
    padding: 0.45rem 0.6rem;
    border: 1px solid transparent;
}
.login-status-message.warning {
    color: #FFD166;
    background: rgba(255, 209, 102, 0.08);
    border-color: rgba(255, 209, 102, 0.3);
}
.login-status-message.error {
    color: #FF8A80;
    background: rgba(255, 138, 128, 0.08);
    border-color: rgba(255, 138, 128, 0.3);
}
.login-status-message.success {
    color: #69F0AE;
    background: rgba(105, 240, 174, 0.08);
    border-color: rgba(105, 240, 174, 0.3);
}
.btn-google-login {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1px solid #555;
    border-radius: 8px;
    background: #2A2A2A;
    color: #FFF;
    font-size: 0.95rem;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s;
    margin-bottom: 0.8rem;
}
.btn-google-login:hover { background: #333; border-color: #BB86FC; }
.google-icon { flex-shrink: 0; }
.login-divider {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #555;
    font-size: 0.85rem;
    margin: 0.6rem 0;
}
.login-divider::before, .login-divider::after {
    content: ''; flex: 1; height: 1px; background: #444;
}
.btn-guest-login {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #444;
    border-radius: 8px;
    background: transparent;
    color: #AAA;
    font-size: 0.92rem;
    cursor: pointer;
    transition: all 0.2s;
    margin-bottom: 1rem;
}
.btn-guest-login:hover { border-color: #03DAC5; color: #03DAC5; }
.login-hint { font-size: 0.78rem; color: #666; margin: 0; }

/* ----- Menu do Usuário (top right) ----- */
.user-menu-area {
    position: absolute;
    top: 12px;
    right: 12px;
}
.btn-user-menu {
    background: none;
    border: 1px solid #444;
    border-radius: 50%;
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1rem;
    color: #AAA;
    transition: border-color 0.2s, color 0.2s;
    padding: 0;
    overflow: hidden;
}
.btn-user-menu:hover { border-color: #BB86FC; color: #BB86FC; }
.user-avatar-mini {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    object-fit: cover;
}
.user-icon-default { font-size: 1rem; line-height: 1; }

/* ----- Dropdown do Usuário ----- */
.user-dropdown {
    position: absolute;
    right: 0;
    top: 42px;
    background: #2A2A2A;
    border: 1px solid #444;
    border-radius: 12px;
    padding: 0.8rem;
    width: 215px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.55);
    z-index: 200;
    text-align: left;
}
.dropdown-user-info {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-bottom: 0.7rem;
    margin-bottom: 0.5rem;
    border-bottom: 1px solid #444;
}
.dropdown-user-info img {
    width: 36px; height: 36px; border-radius: 50%; object-fit: cover;
}
.dropdown-name {
    font-size: 0.88rem;
    font-weight: 700;
    color: #FFF;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 130px;
}
.dropdown-email {
    font-size: 0.75rem;
    color: #888;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 130px;
}
.dropdown-section { padding: 0.4rem 0; }
.dropdown-label {
    font-size: 0.72rem;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: block;
    margin-bottom: 7px;
}
.dropdown-themes { display: flex; gap: 5px; }
.theme-btn {
    background: #383838;
    border: 2px solid transparent;
    border-radius: 8px;
    width: 40px;
    height: 36px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.15s;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}
.theme-btn:hover:not(.locked) { border-color: #BB86FC; background: #444; }
.theme-btn.active { border-color: #03DAC5; background: #1C3A3A; }
.theme-btn.locked { opacity: 0.4; cursor: not-allowed; }
.theme-btn.locked::after {
    content: '🔒';
    font-size: 0.5rem;
    position: absolute;
    bottom: 1px;
    right: 2px;
}
.dropdown-divider { border: none; border-top: 1px solid #444; margin: 0.6rem 0; }
.dropdown-action {
    display: block;
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    color: #AAA;
    font-size: 0.88rem;
    padding: 0.45rem 0.3rem;
    cursor: pointer;
    border-radius: 6px;
    transition: background 0.2s, color 0.2s;
}
.dropdown-action:hover { background: #3A3A3A; color: #FFF; }

/* ----- Boas-vindas do Usuário ----- */
.user-welcome {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 0.2rem 0 0.4rem 0;
    min-height: 24px;
}
.user-avatar-welcome {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    border: 1px solid #03DAC5;
}
.user-greeting-text {
    font-size: 0.83rem;
    color: #03DAC5;
    font-style: italic;
}

/* ----- Streak ----- */
.streak-display {
    font-size: 0.82rem;
    color: #888;
    margin: 0.1rem 0 0.4rem 0;
}
.streak-display #streak-count {
    font-weight: 700;
    color: #FF7043;
}

/* ----- Favoritos nos Sons ----- */
.sound-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 4px 3px;
    margin-bottom: 6px;
}
.fav-star {
    display: inline-block;
    font-size: 0.65rem;
    margin-left: 3px;
    opacity: 0.55;
    cursor: pointer;
    vertical-align: middle;
    transition: opacity 0.15s, transform 0.15s;
    line-height: 1;
}
.fav-star:hover { opacity: 1; transform: scale(1.4); }
.sound-btn.is-favorite { border: 1px solid rgba(255, 193, 7, 0.55); }

/* ----- Dashboard ----- */
.dashboard-section {
    margin-top: 1rem;
    border-top: 1px solid #2E2E2E;
    padding-top: 0.6rem;
}
.dashboard-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
}
.dashboard-title { font-size: 0.85rem; color: #888; font-weight: 500; }
.btn-dashboard-toggle {
    background: none;
    border: none;
    color: #666;
    font-size: 0.7rem;
    cursor: pointer;
    padding: 2px 6px;
    border-radius: 4px;
    transition: color 0.2s;
}
.btn-dashboard-toggle:hover { color: #BB86FC; }
.btn-help {
    background: none;
    border: 1px solid #555;
    color: #666;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    font-size: 0.68rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    transition: all 0.2s;
}
.btn-help:hover { border-color: #BB86FC; color: #BB86FC; }
.dashboard-body {
    overflow: hidden;
    transition: max-height 0.35s ease, opacity 0.3s ease;
    max-height: 320px;
    opacity: 1;
}
.dashboard-body.collapsed { max-height: 0; opacity: 0; }
.dashboard-stats {
    display: flex;
    justify-content: center;
    gap: 22px;
    margin: 0.8rem 0;
}
.stat-item { display: flex; flex-direction: column; align-items: center; }
.stat-value { font-size: 1.5rem; font-weight: 700; color: #03DAC5; line-height: 1.2; }
.stat-label { font-size: 0.7rem; color: #888; }
.chart-container { height: 140px; position: relative; }
.help-panel {
    background: #242424;
    border-radius: 10px;
    padding: 0.9rem;
    margin-top: 0.7rem;
    font-size: 0.82rem;
    color: #BBB;
    line-height: 1.55;
    text-align: left;
}
.btn-close-help {
    display: block;
    margin: 0.6rem auto 0;
    background: #03DAC5;
    color: #121212;
    border: none;
    border-radius: 6px;
    padding: 0.3rem 0.9rem;
    font-size: 0.82rem;
    cursor: pointer;
    font-weight: 700;
    transition: opacity 0.2s;
}
.btn-close-help:hover { opacity: 0.8; }

/* ================================================================
   🌿 TEMA FLORESTA (exclusivo para usuários logados)
   ================================================================ */
body.forest-theme {
    background-color: #0D1F0D;
    color: #D4EDD4;
}
body.forest-theme .container {
    background-color: #1A3320;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
}
body.forest-theme h1 { color: #7BC67E; }
body.forest-theme #cycle-counter { color: #56C57A; }
body.forest-theme .timer { color: #E8F5E8; }
body.forest-theme .time-config input[type="number"] {
    background-color: #0D2E14; color: #D4EDD4; border-color: #2E5E35;
}
body.forest-theme .time-config label, body.forest-theme .sound-picker h3,
body.forest-theme .toggle-container .label-text { color: #7BAC7E; }
body.forest-theme .focus-inputs span { color: #7BAC7E; }
body.forest-theme .slider { background-color: #2E5E35; }
body.forest-theme input:checked + .slider { background-color: #56C57A; }
body.forest-theme #btn-start-pause { background-color: #56C57A; color: #0D1F0D; }
body.forest-theme #btn-reset { background-color: #BF6B3A; color: #0D1F0D; }
body.forest-theme #btn-skip { background-color: #7BC67E; color: #0D1F0D; }
body.forest-theme .sound-btn { background-color: #1E4229; color: #7BAC7E; }
body.forest-theme .sound-btn.active { background-color: #56C57A; color: #0D1F0D; font-weight: 700; }
body.forest-theme .stat-value { color: #56C57A; }
body.forest-theme .user-greeting-text { color: #56C57A; }
body.forest-theme #streak-count { color: #FF8C42; }
body.forest-theme .dashboard-section { border-color: #2E5E35; }
body.forest-theme .dashboard-title { color: #7BAC7E; }
body.forest-theme .help-panel { background: #132A18; }
body.forest-theme .user-dropdown { background: #1A3320; border-color: #2E5E35; }
body.forest-theme .theme-btn { background: #1E4229; }
body.forest-theme .dropdown-divider { border-color: #2E5E35; }
body.forest-theme .dropdown-action { color: #7BAC7E; }
body.forest-theme #language-select { color: #7BAC7E; border-color: #2E5E35; }
body.forest-theme #language-select option { background: #1A3320; color: #D4EDD4; }
body.forest-theme .btn-user-menu { border-color: #2E5E35; color: #7BAC7E; }
body.forest-theme .btn-dashboard-toggle { color: #56C57A; }
body.forest-theme .btn-help { border-color: #2E5E35; color: #7BAC7E; }
body.forest-theme .streak-display { color: #7BAC7E; }

/* ================================================================
   ⬜ TEMA MINIMALISTA (exclusivo para usuários logados)
   ================================================================ */
body.minimal-theme {
    background-color: #F4F4F4;
    color: #2D2D2D;
}
body.minimal-theme .container {
    background-color: #FFFFFF;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.07);
}
body.minimal-theme h1 { color: #6C63FF; }
body.minimal-theme #cycle-counter { color: #6C63FF; }
body.minimal-theme .timer { color: #1A1A1A; }
body.minimal-theme .time-config input[type="number"] {
    background-color: #F8F8F8; color: #2D2D2D; border-color: #DDD;
}
body.minimal-theme .time-config label, body.minimal-theme .sound-picker h3,
body.minimal-theme .toggle-container .label-text { color: #999; }
body.minimal-theme .focus-inputs span { color: #999; }
body.minimal-theme .slider { background-color: #DDD; }
body.minimal-theme input:checked + .slider { background-color: #6C63FF; }
body.minimal-theme #btn-start-pause { background-color: #6C63FF; color: #FFF; }
body.minimal-theme #btn-reset { background-color: #E57373; color: #FFF; }
body.minimal-theme #btn-skip { background-color: #9E9AE0; color: #FFF; }
body.minimal-theme .sound-btn { background-color: #EFEFEF; color: #777; }
body.minimal-theme .sound-btn.active { background-color: #6C63FF; color: #FFF; font-weight: 700; }
body.minimal-theme .stat-value { color: #6C63FF; }
body.minimal-theme .user-greeting-text { color: #6C63FF; }
body.minimal-theme #streak-count { color: #E57373; }
body.minimal-theme .streak-display { color: #AAA; }
body.minimal-theme .dashboard-section { border-color: #EBEBEB; }
body.minimal-theme .dashboard-title { color: #AAA; }
body.minimal-theme .stat-label { color: #BBB; }
body.minimal-theme .help-panel { background: #F8F8F8; color: #777; }
body.minimal-theme .btn-close-help { background-color: #6C63FF; color: #FFF; }
body.minimal-theme .user-dropdown { background: #FFF; border-color: #E5E5E5; }
body.minimal-theme .dropdown-name { color: #2D2D2D; }
body.minimal-theme .dropdown-email { color: #999; }
body.minimal-theme .dropdown-label { color: #BBB; }
body.minimal-theme .dropdown-action { color: #888; }
body.minimal-theme .dropdown-action:hover { background: #F5F5F5; color: #333; }
body.minimal-theme .theme-btn { background: #F0F0F0; }
body.minimal-theme .dropdown-divider { border-color: #EBEBEB; }
body.minimal-theme #language-select { color: #999; border-color: #DDD; }
body.minimal-theme #language-select option { background: #FFF; color: #333; }
body.minimal-theme .btn-user-menu { border-color: #DDD; color: #AAA; }
body.minimal-theme .btn-dashboard-toggle { color: #BBB; }
body.minimal-theme .btn-help { border-color: #DDD; color: #BBB; }
body.minimal-theme .sound-btn.is-favorite { border-color: rgba(180, 150, 0, 0.5); }
body.minimal-theme .login-card { background: #FFF; }
body.minimal-theme .login-title { color: #6C63FF; }

/* ----- Extensões Light Mode para novos elementos ----- */
body.light-mode .user-greeting-text { color: #00A896; }
body.light-mode .streak-display { color: #888; }
body.light-mode #streak-count { color: #E67E22; }
body.light-mode .dashboard-section { border-color: #E5E5E5; }
body.light-mode .dashboard-title { color: #999; }
body.light-mode .stat-value { color: #00A896; }
body.light-mode .stat-label { color: #BBB; }
body.light-mode .help-panel { background: #F8F8F8; color: #777; }
body.light-mode .btn-close-help { background-color: #00A896; color: #FFF; }
body.light-mode .user-dropdown {
    background: #FFF;
    border-color: #DDD;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}
body.light-mode .dropdown-name { color: #333; }
body.light-mode .dropdown-email { color: #999; }
body.light-mode .dropdown-label { color: #BBB; }
body.light-mode .dropdown-action { color: #777; }
body.light-mode .dropdown-action:hover { background: #F5F5F5; color: #333; }
body.light-mode .theme-btn { background: #F0F0F0; }
body.light-mode .theme-btn.active { border-color: #00A896; background: #E0F7F4; }
body.light-mode .dropdown-divider { border-color: #EEE; }
body.light-mode .btn-user-menu { border-color: #DDD; color: #999; }
body.light-mode .btn-dashboard-toggle { color: #BBB; }
body.light-mode .btn-help { border-color: #CCC; color: #AAA; }
body.light-mode .login-card { background: #FFF; box-shadow: 0 20px 60px rgba(0,0,0,0.12); }
body.light-mode .login-title { color: #0077B6; }
body.light-mode .login-subtitle { color: #777; }
body.light-mode .login-status-message.warning {
    color: #9A6B00;
    background: rgba(255, 193, 7, 0.16);
    border-color: rgba(255, 193, 7, 0.35);
}
body.light-mode .login-status-message.error {
    color: #B71C1C;
    background: rgba(244, 67, 54, 0.12);
    border-color: rgba(244, 67, 54, 0.28);
}
body.light-mode .login-status-message.success {
    color: #1B5E20;
    background: rgba(76, 175, 80, 0.14);
    border-color: rgba(76, 175, 80, 0.3);
}
body.light-mode .btn-google-login { background: #F8F8F8; color: #333; border-color: #DDD; }
body.light-mode .btn-google-login:hover { background: #EEE; border-color: #0077B6; }
body.light-mode .btn-guest-login { color: #888; border-color: #DDD; }
body.light-mode .btn-guest-login:hover { border-color: #00A896; color: #00A896; }
body.light-mode .login-hint { color: #AAA; }
body.light-mode .sound-btn.is-favorite { border-color: rgba(180, 130, 0, 0.5); }
body.light-mode .toast { background: rgba(40, 40, 40, 0.92); }