/* --- Global Styles & Variable --- */
:root {
    --primary-blue: #3b82f6;
    --primary-blue-hover: #1d4ed8;
}

body {
    font-family: 'Kanit', sans-serif;
    background-color: #f8fafc;
}

/* --- Scrollbar --- */
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: #f1f5f9; }
::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #94a3b8; }

/* --- Toast Notification --- */
#toastContainer {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 100;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.toast {
    background: white;
    color: #1f2937;
    padding: 12px 16px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-left: 4px solid var(--primary-blue);
    opacity: 0;
    transform: translateY(20px);
    animation: slideIn 0.3s forwards, fadeOut 0.3s 2.7s forwards;
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 280px;
    font-size: 14px;
}
.toast.success { border-left-color: #10b981; }
.toast.error { border-left-color: #ef4444; }
.toast.info { border-left-color: var(--primary-blue); }

/* --- Animations --- */
@keyframes slideIn { to { opacity: 1; transform: translateY(0); } }
@keyframes fadeOut { to { opacity: 0; transform: translateY(-20px); } }

.animate-fade-in {
    animation: fadeIn 0.3s ease-in-out;
}
@keyframes fadeIn {
    from { opacity: 0; transform: scale(0.98); }
    to { opacity: 1; transform: scale(1); }
}
