:root {
    --bg-color: #FFF5F5;
    --card-bg: #FFFFFF;
    --primary-color: #FFB7B2;
    --accent-color: #E2F0CB;
    --text-color: #8E8E8E;
    --input-bg: #FAFAFA;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Nunito', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    height: 100vh;
    display: flex; justify-content: center; align-items: center;
    transition: background-color 0.5s;
    overflow: hidden; /* Evita barra de rolagem indesejada */
}

.container-fofo { width: 100%; padding: 20px; display: flex; justify-content: center; }

.card-login, .modal-card {
    background: var(--card-bg);
    border-radius: 25px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    padding: 40px; width: 100%; max-width: 400px;
    text-align: center; transition: 0.3s;
}
.card-login:hover { transform: translateY(-5px); }

h1, h2 { color: var(--primary-color); font-weight: 800; margin-bottom: 10px; }
p { font-weight: 600; font-size: 0.95rem; margin-bottom: 25px; }

.input-group { text-align: left; margin-bottom: 15px; }
label { display: block; margin-bottom: 5px; font-weight: 700; font-size: 0.85rem; padding-left: 10px; }
input {
    width: 100%; padding: 12px 20px;
    border: 2px solid transparent; background: var(--input-bg);
    border-radius: 15px; font-family: 'Nunito', sans-serif; color: var(--text-color);
    outline: none; transition: 0.3s;
}
input:focus { background: #fff; border-color: var(--primary-color); }
select {
    width: 100%; padding: 12px 20px;
    border: 2px solid transparent; background: var(--input-bg);
    border-radius: 15px; font-family: 'Nunito', sans-serif; color: var(--text-color);
    outline: none; transition: 0.3s;
}
select:focus { background: #fff; border-color: var(--primary-color); }

.btn-primary {
    width: 100%; padding: 12px; margin-top: 10px;
    border: none; border-radius: 15px;
    background: var(--primary-color); color: white;
    font-weight: 800; cursor: pointer; transition: 0.3s;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}
.btn-primary:hover { background: var(--accent-color); color: var(--text-color); transform: scale(1.02); }

footer { margin-top: 20px; font-size: 0.85rem; }
a { text-decoration: none; color: var(--text-color); font-weight: 700; transition: 0.3s; }
a:hover { color: var(--primary-color); }
.divisor { margin: 0 8px; color: #eee; }

/* --- MODAIS --- */
.modal-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(255, 255, 255, 0.6); backdrop-filter: blur(5px);
    z-index: 1000; display: flex; justify-content: center; align-items: center;
    visibility: hidden; opacity: 0; transition: 0.3s;
}
.modal-overlay.active { visibility: visible; opacity: 1; }
.modal-card { transform: scale(0.8); opacity: 0; transition: 0.4s cubic-bezier(0.34, 1.56, 0.64, 1); }
.modal-overlay.active .modal-card { transform: scale(1); opacity: 1; }
.btn-close { position: absolute; top: 15px; right: 15px; background: none; border: none; font-size: 1.5rem; color: var(--text-color); cursor: pointer; }

/* --- THEME SWITCHER --- */
.theme-switcher { position: fixed; bottom: 20px; right: 20px; z-index: 2000; }
.btn-theme-toggle { width: 50px; height: 50px; border-radius: 50%; border: none; background: #fff; box-shadow: 0 5px 15px rgba(0,0,0,0.1); font-size: 1.5rem; cursor: pointer; transition: 0.3s; }
.theme-options { position: absolute; bottom: 60px; right: 0; display: flex; flex-direction: column; gap: 10px; opacity: 0; pointer-events: none; transition: 0.3s; transform: translateY(10px); }
.theme-options.show { opacity: 1; pointer-events: all; transform: translateY(0); }
.theme-btn { width: 40px; height: 40px; border-radius: 50%; border: 2px solid #fff; cursor: pointer; }
.algodao { background: #FFB7B2; } .domingo { background: #AEC6CF; } .cha { background: #B0E57C; } .pessego { background: #FFDAC1; }

/* --- NOTIFICAÇÕES (TOASTS) - AQUI ESTÁ O SEGREDO --- */
#notification-container {
    position: fixed; top: 20px; right: 20px;
    z-index: 9999;
    display: flex; flex-direction: column; gap: 10px;
}

.toast {
    background: #fff;
    padding: 15px 25px;
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    display: flex; align-items: center; gap: 10px;
    min-width: 250px;
    animation: slideIn 0.5s cubic-bezier(0.68, -0.55, 0.27, 1.55);
    border-left: 5px solid var(--primary-color);
}

.toast.sucesso { border-left-color: #B0E57C; } /* Verde Fofo */
.toast.erro { border-left-color: #FFB7B2; }    /* Rosa Alerta */
.toast.aviso { border-left-color: #FFDAC1; }   /* Laranja Aviso */

.toast-icon { font-size: 1.5rem; }
.toast-message { font-weight: 700; font-size: 0.9rem; color: var(--text-color); }

@keyframes slideIn {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}
@keyframes slideOut {
    to { transform: translateX(100%); opacity: 0; }
}
