/* ============================================
   CPPMAS Design System
   NAFARL Crop Production Management
   ============================================ */

/* Variables & Tokens */
:root {
    --primary: #1a6b3c;
    --primary-dark: #0f4d2a;
    --primary-light: #2e8b57;
    --primary-50: #ecfdf5;
    --primary-100: #d1fae5;
    --primary-200: #a7f3d0;

    --accent: #d4a017;
    --accent-light: #f5c842;

    --bg: #f1f5f0;
    --surface: #ffffff;
    --surface-alt: #f8faf8;

    --text: #1a2e1a;
    --text-secondary: #5a6f5a;
    --text-muted: #8a9b8a;

    --border: #d4ddd4;
    --border-light: #e8ede8;

    --success: #16a34a;
    --warning: #d97706;
    --danger: #dc2626;
    --info: #2563eb;

    --radius-sm: 6px;
    --radius: 10px;
    --radius-lg: 16px;
    --radius-xl: 24px;

    --shadow-xs: 0 1px 2px rgba(0,0,0,0.04);
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.07), 0 2px 4px -2px rgba(0,0,0,0.05);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.08), 0 4px 6px -4px rgba(0,0,0,0.04);
    --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.1), 0 8px 10px -6px rgba(0,0,0,0.04);

    --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --transition: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: var(--font);
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

#app {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Typography */
h1 { font-size: 1.75rem; font-weight: 700; letter-spacing: -0.02em; }
h2 { font-size: 1.375rem; font-weight: 700; letter-spacing: -0.01em; }
h3 { font-size: 1.125rem; font-weight: 600; }
h4 { font-size: 1rem; font-weight: 600; }
p { color: var(--text-secondary); }

/* Animations */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(16px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

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

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

.animate-in { animation: fadeInUp 0.4s ease-out both; }

/* ===================== LOGIN SCREEN ===================== */
.login-wrapper {
    display: flex;
    min-height: 100vh;
    background: #061a0d;
    position: relative;
    overflow: hidden;
}

/* Subtle grid lines overlay on entire wrapper */
.login-wrapper::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(46,139,87,0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(46,139,87,0.06) 1px, transparent 1px);
    background-size: 60px 60px;
    z-index: 0;
    pointer-events: none;
}

.login-left {
    flex: 1.15;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 0;
    color: white;
    position: relative;
    z-index: 1;
    background-image: url('First page photo.png.png');
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

/* Primary dark overlay */
.login-left::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        160deg,
        rgba(6, 26, 13, 0.7) 0%,
        rgba(6, 26, 13, 0.5) 30%,
        rgba(6, 26, 13, 0.55) 50%,
        rgba(6, 26, 13, 0.8) 75%,
        rgba(6, 26, 13, 0.95) 100%
    );
    z-index: 1;
}

/* Green tint overlay */
.login-left::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(26, 107, 60, 0.2) 0%,
        rgba(16, 77, 42, 0.15) 40%,
        transparent 70%
    );
    z-index: 1;
}

/* Top bar with logo */
.login-top-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem 2rem;
    position: relative;
    z-index: 3;
}

.login-brand {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.login-brand-logo {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    object-fit: contain;
    background: rgba(255,255,255,0.95);
    padding: 3px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.3);
    flex-shrink: 0;
}

.login-brand-text {
    display: flex;
    flex-direction: column;
}

.login-brand-text h1 {
    font-size: 1.25rem;
    color: white;
    line-height: 1.15;
    margin-bottom: 0;
    letter-spacing: 0.02em;
    font-weight: 700;
}

.login-brand-text .brand-sub {
    font-size: 0.65rem;
    color: rgba(255,255,255,0.5);
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.login-status-pill {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 9999px;
    padding: 0.35rem 0.85rem;
    font-size: 0.7rem;
    color: rgba(255,255,255,0.7);
    backdrop-filter: blur(8px);
}

.login-status-pill .pulse-dot {
    width: 6px; height: 6px;
    border-radius: 50%;
    background: #4ade80;
    animation: pulse 2s ease-in-out infinite;
}

/* Center area with floating analytics */
.login-center {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 3;
    padding: 1rem 2rem;
}

.floating-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    max-width: 440px;
    width: 100%;
}

.float-card {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 14px;
    padding: 1.1rem;
    backdrop-filter: blur(12px);
    transition: all 0.3s ease;
}

.float-card:hover {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.2);
    transform: translateY(-2px);
}

.float-card-label {
    font-size: 0.65rem;
    color: rgba(255,255,255,0.5);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 0.4rem;
    font-weight: 500;
}

.float-card-value {
    font-size: 1.6rem;
    font-weight: 700;
    color: white;
    line-height: 1;
    margin-bottom: 0.3rem;
}

.float-card-meta {
    font-size: 0.7rem;
    color: rgba(255,255,255,0.45);
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.float-card-meta .up { color: #4ade80; }
.float-card-meta .down { color: #f87171; }

.float-card-bar {
    height: 3px;
    border-radius: 2px;
    background: rgba(255,255,255,0.1);
    margin-top: 0.6rem;
    overflow: hidden;
}

.float-card-bar-fill {
    height: 100%;
    border-radius: 2px;
    background: linear-gradient(90deg, #4ade80, #22c55e);
}

.float-card.wide {
    grid-column: span 2;
}

/* Bottom section with features */
.login-bottom {
    padding: 2rem 2rem 1.5rem;
    position: relative;
    z-index: 3;
}

.login-bottom > p {
    color: rgba(255,255,255,0.65);
    font-size: 0.9rem;
    max-width: 460px;
    line-height: 1.65;
    margin-bottom: 1.25rem;
}

.login-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem 1.25rem;
}

.login-feature {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    color: rgba(255,255,255,0.8);
    font-size: 0.8rem;
    font-weight: 400;
    padding: 0.4rem 0;
}

.login-feature i {
    width: 30px; height: 30px;
    background: rgba(74, 222, 128, 0.1);
    border: 1px solid rgba(74, 222, 128, 0.2);
    border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    font-size: 0.75rem;
    flex-shrink: 0;
    color: #4ade80;
}

.login-left-footer {
    margin-top: 1.25rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255,255,255,0.08);
    font-size: 0.7rem;
    color: rgba(255,255,255,0.3);
}

@media (max-width: 1100px) {
    .floating-cards { grid-template-columns: 1fr; }
    .float-card.wide { grid-column: span 1; }
}

@media (max-width: 900px) {
    .login-left { display: none; }
    .login-wrapper { justify-content: center; }
    .login-right { min-width: unset; }
}

.login-right {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2.5rem;
    position: relative;
    z-index: 1;
    background: var(--bg);
    min-width: 460px;
}

.login-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    width: 100%;
    max-width: 420px;
    box-shadow: var(--shadow-lg);
    animation: fadeInUp 0.5s ease-out;
}

.login-card-header {
    text-align: center;
    margin-bottom: 2rem;
}

.login-logo {
    width: 72px; height: 72px;
    border-radius: 50%;
    display: inline-block;
    margin-bottom: 1rem;
    object-fit: contain;
}

.login-card-header h2 {
    margin-bottom: 0.25rem;
}

.login-card-header p {
    font-size: 0.875rem;
}

.login-tabs {
    display: flex;
    background: var(--bg);
    border-radius: var(--radius);
    padding: 4px;
    margin-bottom: 1.5rem;
}

.login-tab {
    flex: 1;
    padding: 0.6rem;
    text-align: center;
    font-size: 0.875rem;
    font-weight: 500;
    border: none;
    background: transparent;
    border-radius: var(--radius-sm);
    cursor: pointer;
    color: var(--text-secondary);
    transition: var(--transition);
    font-family: var(--font);
}

.login-tab.active {
    background: white;
    color: var(--primary);
    box-shadow: var(--shadow-sm);
    font-weight: 600;
}

.login-form-panel {
    display: none;
}

.login-form-panel.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

.login-footer {
    text-align: center;
    margin-top: 1.5rem;
    font-size: 0.8rem;
    color: var(--text-muted);
}

@media (max-width: 900px) {
    .login-left { display: none; }
    .login-wrapper { justify-content: center; }
}

/* ===================== NAVBAR ===================== */
.navbar {
    background: white;
    border-bottom: 1px solid var(--border);
    padding: 0 1.5rem;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: var(--shadow-xs);
    position: sticky;
    top: 0;
    z-index: 100;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--primary);
}

.navbar-brand i {
    width: 34px; height: 34px;
    background: var(--primary);
    color: white;
    border-radius: var(--radius-sm);
    display: flex; align-items: center; justify-content: center;
    font-size: 1rem;
}

.navbar-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.navbar-user-info {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.navbar-avatar {
    width: 32px; height: 32px;
    background: var(--primary-100);
    color: var(--primary);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-weight: 600;
    font-size: 0.8rem;
}

.navbar-role {
    font-size: 0.75rem;
    background: var(--primary-50);
    color: var(--primary);
    padding: 2px 8px;
    border-radius: 9999px;
    font-weight: 500;
}

.btn-logout {
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text-secondary);
    padding: 6px 14px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-size: 0.8rem;
    font-family: var(--font);
    transition: var(--transition);
}

.btn-logout:hover {
    border-color: var(--danger);
    color: var(--danger);
    background: #fef2f2;
}

/* Sync Status */
.sync-bar {
    background: var(--primary-50);
    border-bottom: 1px solid var(--primary-100);
    padding: 6px 1.5rem;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary);
}

.sync-bar.offline {
    background: #fff7ed;
    border-color: #fed7aa;
    color: var(--warning);
}

.sync-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--success);
    animation: pulse 2s ease-in-out infinite;
}

.sync-bar.offline .sync-dot {
    background: var(--warning);
}

/* ===================== LAYOUT ===================== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1.5rem;
    width: 100%;
}

.page-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.page-header-left {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.back-btn {
    width: 36px; height: 36px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    background: white;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer;
    color: var(--text-secondary);
    transition: var(--transition);
}

.back-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: var(--primary-50);
}

/* ===================== CARDS ===================== */
.card {
    background: var(--surface);
    border-radius: var(--radius);
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-xs);
    overflow: hidden;
}

.card-body {
    padding: 1.5rem;
}

.card-header-bar {
    padding: 1rem 1.5rem;
    border-bottom: 1px solid var(--border-light);
    font-weight: 600;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--surface-alt);
}

/* Summary / Stat Cards */
.grid {
    display: grid;
    gap: 1rem;
}
.g-2 { grid-template-columns: repeat(2, 1fr); }
.g-3 { grid-template-columns: repeat(3, 1fr); }
.g-4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 1024px) { .g-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .g-2, .g-3, .g-4 { grid-template-columns: 1fr; } }

.stat-card {
    background: var(--surface);
    border: 1px solid var(--border-light);
    border-radius: var(--radius);
    padding: 1.25rem;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    box-shadow: var(--shadow-xs);
    transition: var(--transition);
}

.stat-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-1px);
}

.stat-icon {
    width: 44px; height: 44px;
    border-radius: var(--radius-sm);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.stat-icon.green { background: #dcfce7; color: var(--success); }
.stat-icon.amber { background: #fef3c7; color: var(--warning); }
.stat-icon.red { background: #fee2e2; color: var(--danger); }
.stat-icon.blue { background: #dbeafe; color: var(--info); }

.stat-content { flex: 1; }
.stat-value { font-size: 1.75rem; font-weight: 700; line-height: 1; margin-bottom: 0.25rem; }
.stat-label { font-size: 0.8rem; color: var(--text-muted); }

/* ===================== QUICK ACTIONS ===================== */
.quick-actions {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.75rem;
}

@media (max-width: 640px) {
    .quick-actions { grid-template-columns: repeat(2, 1fr); }
}

.quick-action {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1.25rem 0.75rem;
    background: white;
    border: 1px solid var(--border-light);
    border-radius: var(--radius);
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    color: var(--text);
}

.quick-action:hover {
    border-color: var(--primary);
    background: var(--primary-50);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.quick-action-icon {
    width: 48px; height: 48px;
    border-radius: 50%;
    background: var(--primary-50);
    color: var(--primary);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    transition: var(--transition);
}

.quick-action:hover .quick-action-icon {
    background: var(--primary);
    color: white;
}

.quick-action span {
    font-size: 0.8rem;
    font-weight: 500;
    text-align: center;
}

/* ===================== FORMS ===================== */
.form-card {
    max-width: 640px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-label {
    display: block;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text);
    margin-bottom: 0.35rem;
}

.form-label .required {
    color: var(--danger);
    margin-left: 2px;
}

.form-control {
    width: 100%;
    padding: 0.7rem 0.85rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-family: var(--font);
    font-size: 0.875rem;
    color: var(--text);
    background: white;
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(26,107,60,0.1);
}

.form-control.error {
    border-color: var(--danger);
    box-shadow: 0 0 0 3px rgba(220,38,38,0.1);
}

.form-error {
    font-size: 0.75rem;
    color: var(--danger);
    margin-top: 0.25rem;
    display: none;
}

.form-error.visible {
    display: block;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

@media (max-width: 640px) {
    .form-row { grid-template-columns: 1fr; }
}

textarea.form-control {
    resize: vertical;
    min-height: 80px;
}

/* ===================== BUTTONS ===================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.7rem 1.5rem;
    border-radius: var(--radius-sm);
    font-weight: 500;
    font-size: 0.875rem;
    cursor: pointer;
    border: none;
    font-family: var(--font);
    transition: var(--transition);
    text-decoration: none;
}

.btn-primary {
    background: var(--primary);
    color: white;
}

.btn-primary:hover {
    background: var(--primary-dark);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background: white;
    color: var(--text);
    border: 1px solid var(--border);
}

.btn-secondary:hover {
    background: var(--bg);
    border-color: var(--text-muted);
}

.btn-ghost {
    background: transparent;
    color: var(--text-secondary);
    padding: 0.5rem 0.75rem;
}

.btn-ghost:hover {
    background: var(--bg);
    color: var(--text);
}

.btn-sm {
    padding: 0.4rem 0.75rem;
    font-size: 0.8rem;
}

.btn-block {
    width: 100%;
}

.btn-actions {
    display: flex;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

/* ===================== BADGES ===================== */
.badge {
    display: inline-flex;
    align-items: center;
    padding: 3px 10px;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.01em;
}

.badge-success { background: #dcfce7; color: #166534; }
.badge-warning { background: #fef3c7; color: #92400e; }
.badge-danger { background: #fee2e2; color: #991b1b; }
.badge-info { background: #dbeafe; color: #1e40af; }
.badge-neutral { background: var(--bg); color: var(--text-secondary); }

/* ===================== TABLES ===================== */
.table-wrap {
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.875rem;
}

th {
    padding: 0.75rem 1rem;
    text-align: left;
    font-weight: 600;
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    background: var(--surface-alt);
    border-bottom: 1px solid var(--border);
}

td {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid var(--border-light);
    color: var(--text);
}

tr:hover td {
    background: var(--primary-50);
}

.text-danger { color: var(--danger); font-weight: 600; }

/* ===================== TASK LIST ===================== */
.task-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.task-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.875rem 1rem;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    background: white;
    transition: var(--transition);
}

.task-item:hover {
    border-color: var(--primary-200);
    background: var(--primary-50);
}

.task-icon-wrap {
    width: 40px; height: 40px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
    font-size: 0.9rem;
}

.task-icon-wrap.green { background: #dcfce7; color: var(--success); }
.task-icon-wrap.amber { background: #fef3c7; color: var(--warning); }

.task-details { flex: 1; }
.task-title { font-weight: 600; font-size: 0.875rem; }
.task-meta { font-size: 0.75rem; color: var(--text-muted); }

/* ===================== STATUS TIMELINE ===================== */
.status-timeline {
    display: flex;
    align-items: center;
    gap: 0;
    margin: 1rem 0;
    flex-wrap: wrap;
}

.status-step {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    color: var(--text-muted);
    padding: 0.5rem 0;
}

.status-step.done { color: var(--success); }
.status-step.active { color: var(--primary); font-weight: 600; }

.status-dot {
    width: 10px; height: 10px;
    border-radius: 50%;
    background: var(--border);
    flex-shrink: 0;
}

.status-step.done .status-dot { background: var(--success); }
.status-step.active .status-dot { background: var(--primary); box-shadow: 0 0 0 3px rgba(26,107,60,0.2); }

.status-line {
    width: 30px; height: 2px;
    background: var(--border);
    margin: 0 0.25rem;
}

.status-step.done + .status-line { background: var(--success); }

/* ===================== TOAST ===================== */
.toast-container {
    position: fixed;
    top: 1rem;
    right: 1rem;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.toast {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.25rem;
    border-radius: var(--radius);
    background: white;
    box-shadow: var(--shadow-lg);
    border-left: 4px solid var(--success);
    min-width: 300px;
    max-width: 420px;
    animation: toastIn 0.4s ease-out;
}

.toast.removing {
    animation: toastOut 0.3s ease-in forwards;
}

.toast.success { border-left-color: var(--success); }
.toast.error { border-left-color: var(--danger); }
.toast.warning { border-left-color: var(--warning); }

.toast-icon {
    width: 28px; height: 28px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
    font-size: 0.85rem;
}

.toast.success .toast-icon { background: #dcfce7; color: var(--success); }
.toast.error .toast-icon { background: #fee2e2; color: var(--danger); }

.toast-body { flex: 1; }
.toast-title { font-weight: 600; font-size: 0.875rem; }
.toast-msg { font-size: 0.8rem; color: var(--text-secondary); }

/* ===================== SECTION ===================== */
.section-title {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--text);
}

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
