/* === VARIABLES & THEME === */
:root {
    --bg-app: #F5F4F1;
    --bg-surface: #FFFFFF;

    --text-dark: #111111;
    --text-main: #333333;
    --text-muted: #555555;
    --text-light: #888888;

    --border-soft: #EAE9E4;
    --border-dark: #D4D3CE;

    --accent-green: #0E793C;
    --accent-orange: #C25400;
    --accent-red: #D92D20;

    --font-sans: 'Inter', sans-serif;
    --font-serif: 'Lora', serif;
}

/* === RESET === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body, html {
    height: 100%;
    font-family: var(--font-sans);
    background-color: var(--bg-app);
    color: var(--text-main);
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
    font-family: var(--font-serif);
    font-weight: 500;
    color: var(--text-dark);
    letter-spacing: -0.01em;
}

p { line-height: 1.6; font-size: 14px; color: var(--text-main); }
strong { color: var(--text-dark); font-weight: 600; }

/* === NAVIGATION === */
nav {
    height: 60px;
    background: var(--bg-app);
    border-bottom: 1px solid var(--border-soft);
}
.nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5%;
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}
.logo-img {
    height: 120px;
    width: auto;
    object-fit: contain;
}

.nav-btn {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: color 0.2s;
    background: none;
    border: none;
    cursor: pointer;
    font-family: var(--font-sans);
}
.nav-btn:hover { color: var(--text-dark); }

.nav-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

/* === SCROLLBAR === */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--border-dark); }

/* === BASE RESPONSIVE === */
@media (max-width: 768px) {
    nav { height: 50px; }
    .logo-img { height: 80px; }
    .nav-inner { padding: 0 16px; }
    .nav-btn { font-size: 12px; gap: 4px; }
    .nav-btn span.nav-label { display: none; }
    .nav-actions { gap: 8px; }
}

@media (max-width: 480px) {
    .logo-img { height: 60px; }
    .nav-inner { gap: 8px; }
}


/* ============================================================================
   TOAST NOTIFICATIONS
   ============================================================================ */

.toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-width: 420px;
    width: calc(100% - 40px);
}
.toast {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 12px 16px;
    border-radius: 10px;
    font-family: var(--font-sans);
    font-size: 13px;
    line-height: 1.4;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    animation: toastSlideIn 0.35s ease-out;
}
.toast-content {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
    min-width: 0;
}
.toast-close {
    background: none;
    border: none;
    cursor: pointer;
    opacity: 0.5;
    padding: 2px;
    flex-shrink: 0;
    color: inherit;
}
.toast-close:hover { opacity: 1; }

.toast-success {
    background: #e8f5e9;
    color: #1b5e20;
    border: 1px solid #c8e6c9;
}
.toast-info {
    background: #e3f2fd;
    color: #1565c0;
    border: 1px solid #bbdefb;
}
.toast-warning {
    background: #fff3e0;
    color: #e65100;
    border: 1px solid #ffe0b2;
}
.toast-error {
    background: #fbe9e7;
    color: #bf360c;
    border: 1px solid #ffccbc;
}

@keyframes toastSlideIn {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

@media (max-width: 600px) {
    .toast-container { top: 12px; right: 12px; max-width: 100%; width: calc(100% - 24px); }
}
