
/* =========================
   BODY STYLES
========================= */

body {
    font-family: Arial, sans-serif;
    padding: 20px;
    background-color: var(--bg-color);
    color: var(--text-color);
    transition: background-color 0.3s ease, color 0.3s ease;
    position: relative;
}

/* Universal Reset - Guarantees visual unity across all web views */
*, *::before, *::after {
    font-family: Arial, sans-serif !important; /* Force everything to stay identical */
    box-sizing: border-box; 
}

/* =========================
   HEADINGS
========================= */

h2 {
    margin-bottom: 5px;
    text-align: center;
    font-weight: bold;
}

#titlePara {
    text-align: center;
    font-size: 20px;
    font-family: fantasy, Arial, sans-serif; /* Fallbacks if device lack 'fantasy' */
}

/* =========================
   FADE ANIMATION
========================= */

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
    }
    to {
        transform: translateY(0);
    }
}

/* =========================
   TOAST NOTIFICATION
========================= */

#toast {
    position: fixed;
    top: 20px;
    right: 20px;
    color: white;
    padding: 12px 18px;
    border-radius: 8px;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    z-index: 1000;
}

.success { background: #48A111; }
.delete { background: #FF4545; }
.update { background: #2A84FF; }
.warning { background: #FF9800; }
.default { background: #333; }

body.dark-mode #toast.default {
    background: #555;
}

/* Theme toggle styles moved to styles.css for header layout */
