/* ============================================
   Sweet Task - Global Styles
   Consistent Typography & Theme System
   ============================================ */

/* ============================================
   CSS VARIABLES - THEME SYSTEM
   ============================================ */
:root {
    /* Primary Brand Colors */
    --primary-purple: #8b5cf6;
    --primary-cyan: #06b6d4;

    /* Status Colors */
    --color-success: #10b981;
    --color-warning: #f59e0b;
    --color-danger: #ef4444;
    --color-info: #3b82f6;

    /* Dark Theme - Default and Only Theme */
    --bg-primary: #111827;
    --bg-secondary: #1f2937;
    --bg-tertiary: #374151;
    --bg-card: #1f2937;

    --text-primary: #f9fafb;
    --text-secondary: #d1d5db;
    --text-muted: #9ca3af;

    --border-color: #374151;

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #8b5cf6 0%, #06b6d4 100%);
    --gradient-secondary: linear-gradient(135deg, #06b6d4 0%, #8b5cf6 100%);

    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.4);
    --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.4);

    /* Effects */
    --glow-primary: 0 0 20px rgba(139, 92, 246, 0.4);
    --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
    --ease-bounce: cubic-bezier(0.68, -0.55, 0.265, 1.55);

    /* Spec Typography Tokens (Desktop Base 1280px+) */
    --text-xs: 13px;
    --text-sm: 15px;
    --text-base: 16px;
    --text-lg: 16px;
    --text-xl: 18px;
    --text-2xl: 22px;
    --text-3xl: 26px;
    --text-4xl: 28px;
    --text-5xl: 30px;

    /* Typography - Consistent Sizes (Aliased to Spec) */
    --font-size-h1: 30px;
    /* Page titles */
    --font-size-h2: 28px;
    /* Section titles */
    --font-size-h3: 26px;
    /* Card titles */
    --font-size-h4: 22px;
    /* Subsection titles */
    --font-size-h5: 18px;
    --font-size-h6: 16px;
    --font-size-body: 16px;
    /* Body text */
    --font-size-small: 15px;
    /* Small text */
    --font-size-tiny: 13px;
    /* Tiny text */

    /* Line Heights */
    --lh-heading: 1.3;
    --lh-body: 1.7;
    --lh-caption: 1.5;

    /* Spacing Scale Tokens */
    --space-1: 4px;
    --space-2: 8px;
    --space-3: 12px;
    --space-4: 16px;
    --space-5: 20px;
    --space-6: 24px;
    --space-8: 32px;
    --space-10: 40px;
    --space-12: 48px;
    --space-16: 64px;
    --space-20: 80px;
    --space-24: 96px;

    /* Layout & Section Spacing */
    --section-padding-v: 96px;
    --section-gap: 80px;
    --component-gap: 32px;
    --container-max-width: 1440px;
    --container-padding-h: 48px;
    --container-padding-v: 48px;

    /* Component Spec Tokens */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --radius-full: 9999px;
    --btn-height: 48px;
    --btn-font-size: 16px;
    --btn-padding-h: 24px;
    --btn-radius: 8px;
    --btn-min-width: 140px;
    --card-padding: 24px;
    --card-radius: 12px;
    --card-gap: 16px;
    --input-height: 48px;
    --input-font-size: 16px;
    --input-padding-h: 16px;
    --input-radius: 8px;
    --label-font-size: 14px;
    --helper-font-size: 13px;

    /* Breakpoint Reference Tokens */
    --bp-tiny: 300px;
    --bp-mobile: 480px;
    --bp-lmobile: 640px;
    --bp-tablet: 768px;
    --bp-laptop: 1024px;
    --bp-desktop: 1280px;

    /* Icon Sizes */
    --icon-size-xl: 3rem;
    --icon-size-lg: 2rem;
    --icon-size-md: 1.5rem;
    --icon-size-sm: 1rem;
    --icon-size-xs: 0.75rem;
}

/* ============================================
   RESET & BASE STYLES
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: var(--font-size-body);
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--bg-primary);
    transition: background 0.3s ease, color 0.3s ease;
}

/* ============================================
   TYPOGRAPHY - CONSISTENT SYSTEM
   ============================================ */
h1,
.h1 {
    font-size: var(--font-size-h1);
    font-weight: 800;
    line-height: 1.2;
    color: var(--text-primary);
}

h2,
.h2 {
    font-size: var(--font-size-h2);
    font-weight: 700;
    line-height: 1.3;
    color: var(--text-primary);
}

h3,
.h3 {
    font-size: var(--font-size-h3);
    font-weight: 700;
    line-height: 1.4;
    color: var(--text-primary);
}

h4,
.h4 {
    font-size: var(--font-size-h4);
    font-weight: 600;
    line-height: 1.4;
    color: var(--text-primary);
}

p {
    font-size: var(--font-size-body);
    line-height: 1.6;
    color: var(--text-secondary);
}

small,
.small {
    font-size: var(--font-size-small);
    color: var(--text-secondary);
}

.tiny {
    font-size: var(--font-size-tiny);
    color: var(--text-muted);
}

/* Responsive typography handled in 6-breakpoint architecture below */

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

.main-content {
    min-height: calc(100vh - 80px);
    padding: 2rem 0;
}

/* ============================================
   BUTTON SYSTEM - CONSISTENT STYLES
   ============================================ */
.btn {
    padding: 0.75rem 1.5rem;
    font-size: var(--font-size-body);
    font-weight: 600;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s var(--ease-smooth);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    text-decoration: none;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(139, 92, 246, 0.3);
}

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

.btn-secondary:hover {
    background: var(--bg-tertiary);
    border-color: var(--primary-purple);
}

.btn-danger {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: white;
}

.btn-danger:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(239, 68, 68, 0.3);
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: var(--font-size-small);
}

.btn i {
    font-size: var(--icon-size-sm);
}

/* Responsive buttons handled in 6-breakpoint architecture below */

/* ============================================
   CARD SYSTEM - CONSISTENT STYLES
   ============================================ */
.card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s var(--ease-smooth);
}

.card:hover {
    box-shadow: var(--shadow-md);
}

.card-header {
    margin-bottom: 1.5rem;
}

.card-title {
    font-size: var(--font-size-h3);
    font-weight: 700;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0;
}

.card-title i {
    font-size: var(--icon-size-md);
    color: var(--primary-purple);
}

.card-body {
    color: var(--text-secondary);
}

/* Responsive cards handled in 6-breakpoint architecture below */

/* ============================================
   FORM SYSTEM - CONSISTENT STYLES
   ============================================ */
.form-group {
    margin-bottom: 1.25rem;
}

.form-label {
    display: block;
    font-size: var(--font-size-small);
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.form-control {
    width: 100%;
    padding: 0.75rem 1rem;
    font-size: var(--font-size-body);
    font-weight: 500;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    background: var(--bg-secondary);
    color: var(--text-primary);
    transition: all 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-purple);
    background: var(--bg-card);
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.1);
}

.form-control::placeholder {
    color: var(--text-muted);
}

select.form-control {
    cursor: pointer;
}

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

.form-help {
    display: block;
    font-size: var(--font-size-tiny);
    color: var(--text-muted);
    margin-top: 0.375rem;
}

/* Responsive forms handled in 6-breakpoint architecture below */

/* ============================================
   MODAL SYSTEM - CONSISTENT STYLES
   ============================================ */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal.show {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 0;
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow: hidden;
    transform: scale(0.9);
    transition: transform 0.3s var(--ease-bounce);
    box-shadow: var(--shadow-xl);
}

.modal.show .modal-content {
    transform: scale(1);
}

.modal-header {
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--bg-secondary);
}

.modal-header h3 {
    font-size: var(--font-size-h3);
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.modal-header h3 i {
    font-size: var(--icon-size-md);
    color: var(--primary-purple);
}

.modal-close {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.3s ease;
}

.modal-close:hover {
    background: var(--bg-card);
    color: var(--text-primary);
    transform: scale(1.1);
}

.modal-body {
    padding: 1.5rem;
    max-height: calc(90vh - 140px);
    overflow-y: auto;
}

.modal-footer {
    padding: 1rem 1.5rem;
    border-top: 1px solid var(--border-color);
    display: flex;
    gap: 0.75rem;
    background: var(--bg-secondary);
}

/* Responsive modals handled in 6-breakpoint architecture below */

/* ============================================
   ICON SYSTEM - CONSISTENT SIZES
   ============================================ */
.icon-xl {
    font-size: var(--icon-size-xl);
}

.icon-lg {
    font-size: var(--icon-size-lg);
}

.icon-md {
    font-size: var(--icon-size-md);
}

.icon-sm {
    font-size: var(--icon-size-sm);
}

.icon-xs {
    font-size: var(--icon-size-xs);
}

/* ============================================
   NOTIFICATION SYSTEM
   ============================================ */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 10000;
    min-width: 300px;
    max-width: 400px;
    padding: 1rem 1.25rem;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    box-shadow: var(--shadow-xl);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    animation: slideInRight 0.3s var(--ease-smooth);
}

.notification.success {
    border-left: 4px solid var(--color-success);
}

.notification.error {
    border-left: 4px solid var(--color-danger);
}

.notification.warning {
    border-left: 4px solid var(--color-warning);
}

.notification.info {
    border-left: 4px solid var(--color-info);
}

.notification i {
    font-size: var(--icon-size-md);
}

.notification.success i {
    color: var(--color-success);
}

.notification.error i {
    color: var(--color-danger);
}

.notification.warning i {
    color: var(--color-warning);
}

.notification.info i {
    color: var(--color-info);
}

.notification-message {
    flex: 1;
    font-size: var(--font-size-small);
    color: var(--text-primary);
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(100px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Responsive notifications handled in 6-breakpoint architecture below */

/* ============================================
   UTILITY CLASSES
   ============================================ */
.text-center {
    text-align: center;
}

.text-right {
    text-align: right;
}

.text-left {
    text-align: left;
}

.mt-1 {
    margin-top: 0.5rem;
}

.mt-2 {
    margin-top: 1rem;
}

.mt-3 {
    margin-top: 1.5rem;
}

.mt-4 {
    margin-top: 2rem;
}

.mb-1 {
    margin-bottom: 0.5rem;
}

.mb-2 {
    margin-bottom: 1rem;
}

.mb-3 {
    margin-bottom: 1.5rem;
}

.mb-4 {
    margin-bottom: 2rem;
}

.d-flex {
    display: flex;
}

.align-center {
    align-items: center;
}

.justify-between {
    justify-content: space-between;
}

.justify-center {
    justify-content: center;
}

.gap-1 {
    gap: 0.5rem;
}

.gap-2 {
    gap: 1rem;
}

.gap-3 {
    gap: 1.5rem;
}

/* ============================================
   STATUS BADGES - CONSISTENT STYLES
   ============================================ */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.375rem 0.75rem;
    font-size: var(--font-size-tiny);
    font-weight: 600;
    border-radius: 20px;
}

.badge i {
    font-size: var(--icon-size-xs);
}

.badge-success {
    background: rgba(16, 185, 129, 0.1);
    color: var(--color-success);
}

.badge-warning {
    background: rgba(245, 158, 11, 0.1);
    color: var(--color-warning);
}

.badge-danger {
    background: rgba(239, 68, 68, 0.1);
    color: var(--color-danger);
}

.badge-info {
    background: rgba(59, 130, 246, 0.1);
    color: var(--color-info);
}

.badge-primary {
    background: rgba(139, 92, 246, 0.1);
    color: var(--primary-purple);
}

/* ============================================
   LOADING STATES
   ============================================ */
.loading {
    opacity: 0.6;
    pointer-events: none;
    position: relative;
}

.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    border: 2px solid var(--border-color);
    border-top: 2px solid var(--primary-purple);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    transform: translate(-50%, -50%);
}

@keyframes spin {
    0% {
        transform: translate(-50%, -50%) rotate(0deg);
    }

    100% {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

/* ============================================
   SCROLLBAR STYLING - HIDDEN
   ============================================ */
/* Hide scrollbar for Chrome, Safari and Opera */
::-webkit-scrollbar {
    width: 0px;
    height: 0px;
    display: none;
}

/* Hide scrollbar for IE, Edge and Firefox */
* {
    -ms-overflow-style: none;
    /* IE and Edge */
    scrollbar-width: none;
    /* Firefox */
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ==========================================================================
   6-BREAKPOINT RESPONSIVE ARCHITECTURE (DESKTOP-DOWN / DESKTOP-FIRST)
   ========================================================================== */

/* ─── 1. Base : Desktop (1280px–1600px+) ─── */
/* Note: Base Desktop styles and :root variables are defined above as default. */
@media (min-width: 1280px) {
    /* Any specific desktop-only enhancements */
}

/* ─── 2. Laptop (1024px–1279px) ─── */
@media (max-width: 1279px) {
    :root {
        /* Spec Typography Tokens */
        --text-5xl: 28px;
        --text-4xl: 26px;
        --text-3xl: 24px;
        --text-2xl: 20px;
        --text-xl: 17px;
        --text-lg: 15px;
        --text-base: 16px;
        --text-sm: 14px;
        --text-xs: 13px;

        /* Existing Typography Aliases */
        --font-size-h1: 28px;
        --font-size-h2: 26px;
        --font-size-h3: 24px;
        --font-size-h4: 20px;
        --font-size-h5: 17px;
        --font-size-h6: 15px;
        --font-size-body: 16px;
        --font-size-small: 14px;
        --font-size-tiny: 13px;

        /* Spacing & Container */
        --section-padding-v: 80px;
        --section-gap: 64px;
        --component-gap: 28px;
        --container-max-width: 1200px;
        --container-padding-h: 40px;
        --container-padding-v: 40px;

        /* Components */
        --btn-height: 46px;
        --btn-font-size: 15px;
        --btn-padding-h: 22px;
        --card-padding: 22px;
        --input-height: 46px;
    }

    .container {
        max-width: var(--container-max-width);
        padding: 0 var(--container-padding-h);
    }
}

/* ─── 3. Tablet (768px–1023px) ─── */
@media (max-width: 1023px) {
    :root {
        /* Spec Typography Tokens */
        --text-5xl: 26px;
        --text-4xl: 24px;
        --text-3xl: 22px;
        --text-2xl: 18px;
        --text-xl: 16px;
        --text-lg: 14px;
        --text-base: 16px;
        --text-sm: 14px;
        --text-xs: 13px;

        /* Existing Typography Aliases */
        --font-size-h1: 26px;
        --font-size-h2: 24px;
        --font-size-h3: 22px;
        --font-size-h4: 18px;
        --font-size-h5: 16px;
        --font-size-h6: 14px;
        --font-size-body: 16px;
        --font-size-small: 14px;
        --font-size-tiny: 13px;

        /* Spacing & Container */
        --section-padding-v: 64px;
        --section-gap: 48px;
        --component-gap: 24px;
        --container-max-width: 960px;
        --container-padding-h: 32px;
        --container-padding-v: 32px;

        /* Components */
        --btn-height: 44px;
        --btn-font-size: 15px;
        --btn-padding-h: 20px;
        --btn-min-width: 120px;
        --card-padding: 20px;
        --input-height: 44px;
        --icon-size-xl: 2.5rem;
        --icon-size-lg: 1.75rem;
        --icon-size-md: 1.25rem;
    }

    .container {
        max-width: var(--container-max-width);
        padding: 0 var(--container-padding-h);
    }

    .main-content {
        padding: 1.5rem 0;
    }

    .btn {
        padding: 0.625rem 1.25rem;
    }

    .btn-sm {
        padding: 0.5rem 0.875rem;
    }

    .card {
        padding: var(--card-padding);
        border-radius: 14px;
    }

    .card-header {
        margin-bottom: 1.25rem;
    }

    .modal-content {
        max-width: 500px;
        width: 90%;
    }
}

/* ─── 4. Large Mobile (640px–767px) ─── */
@media (max-width: 767px) {
    :root {
        /* Spec Typography Tokens */
        --text-5xl: 24px;
        --text-4xl: 22px;
        --text-3xl: 20px;
        --text-2xl: 17px;
        --text-xl: 15px;
        --text-lg: 14px;
        --text-base: 15px;
        --text-sm: 13px;
        --text-xs: 12px;

        /* Existing Typography Aliases */
        --font-size-h1: 24px;
        --font-size-h2: 22px;
        --font-size-h3: 20px;
        --font-size-h4: 17px;
        --font-size-h5: 15px;
        --font-size-h6: 14px;
        --font-size-body: 15px;
        --font-size-small: 13px;
        --font-size-tiny: 12px;

        /* Spacing & Container */
        --section-padding-v: 48px;
        --section-gap: 36px;
        --component-gap: 20px;
        --container-max-width: 100%;
        --container-padding-h: 24px;
        --container-padding-v: 24px;

        /* Components */
        --btn-height: 44px;
        --btn-font-size: 15px;
        --btn-padding-h: 18px;
        --card-padding: 18px;
        --input-height: 44px;
    }

    .container {
        padding: 0 var(--container-padding-h);
    }

    .modal-content {
        max-width: 420px;
        width: 95%;
    }

    .modal-header {
        padding: 1rem 1.25rem;
    }

    .modal-header h3 {
        font-size: var(--font-size-h4);
    }

    .modal-body {
        padding: 1.25rem;
    }

    .modal-footer {
        padding: 0.875rem 1.25rem;
        gap: 0.625rem;
    }
}

/* ─── 5. Mobile (480px–639px) ─── */
@media (max-width: 639px) {
    :root {
        /* Spec Typography Tokens */
        --text-5xl: 22px;
        --text-4xl: 20px;
        --text-3xl: 18px;
        --text-2xl: 16px;
        --text-xl: 14px;
        --text-lg: 13px;
        --text-base: 15px;
        --text-sm: 13px;
        --text-xs: 11px;

        /* Existing Typography Aliases */
        --font-size-h1: 22px;
        --font-size-h2: 20px;
        --font-size-h3: 18px;
        --font-size-h4: 16px;
        --font-size-h5: 14px;
        --font-size-h6: 13px;
        --font-size-body: 15px;
        --font-size-small: 13px;
        --font-size-tiny: 11px;

        /* Spacing & Container */
        --section-padding-v: 40px;
        --section-gap: 32px;
        --component-gap: 16px;
        --container-padding-h: 16px;
        --container-padding-v: 16px;

        /* Components */
        --btn-height: 42px;
        --btn-font-size: 14px;
        --btn-padding-h: 16px;
        --card-padding: 16px;
        --input-height: 42px;
        --icon-size-xl: 2rem;
        --icon-size-lg: 1.5rem;
        --icon-size-md: 1rem;
        --icon-size-sm: 0.75rem;
    }

    .container {
        padding: 0 var(--container-padding-h);
    }

    .main-content {
        padding: 1rem 0;
    }

    .btn {
        padding: 0.625rem 1rem;
        font-size: var(--font-size-small);
    }

    .btn-sm {
        padding: 0.5rem 0.75rem;
    }

    .card {
        padding: var(--card-padding);
        border-radius: 12px;
    }

    .card-header {
        margin-bottom: 1rem;
    }

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

    .form-control {
        padding: 0.625rem 0.875rem;
    }

    .modal-content {
        max-width: 360px;
    }

    .modal-header {
        padding: 0.875rem 1rem;
    }

    .modal-close {
        width: 28px;
        height: 28px;
    }

    .modal-body {
        padding: 1rem;
    }

    .modal-footer {
        padding: 0.75rem 1rem;
        flex-direction: column;
    }

    .modal-footer .btn {
        width: 100%;
    }

    .notification {
        right: 10px;
        left: 10px;
        min-width: auto;
        max-width: none;
    }
}

/* ─── 6. Tiny Mobile (300px–479px) ─── */
@media (max-width: 479px) {
    :root {
        /* Spec Typography Tokens */
        --text-5xl: 20px;
        --text-4xl: 18px;
        --text-3xl: 16px;
        --text-2xl: 15px;
        --text-xl: 14px;
        --text-lg: 12px;
        --text-base: 14px;
        --text-sm: 12px;
        --text-xs: 11px;

        /* Existing Typography Aliases */
        --font-size-h1: 20px;
        --font-size-h2: 18px;
        --font-size-h3: 16px;
        --font-size-h4: 15px;
        --font-size-h5: 14px;
        --font-size-h6: 12px;
        --font-size-body: 14px;
        --font-size-small: 12px;
        --font-size-tiny: 11px;

        /* Spacing & Container */
        --section-padding-v: 32px;
        --section-gap: 24px;
        --component-gap: 12px;
        --container-padding-h: 12px;
        --container-padding-v: 12px;

        /* Components */
        --btn-height: 40px;
        --btn-font-size: 13px;
        --btn-padding-h: 14px;
        --btn-min-width: 100px;
        --card-padding: 12px;
        --input-height: 40px;
        --input-font-size: 14px;
        --icon-size-xl: 1.75rem;
        --icon-size-lg: 1.25rem;
        --icon-size-md: 0.875rem;
    }

    .container {
        padding: 0 var(--container-padding-h);
    }

    .card {
        padding: var(--card-padding);
        border-radius: 10px;
    }

    .btn {
        padding: 0.5rem 0.875rem;
        font-size: var(--btn-font-size);
        border-radius: 8px;
    }

    .modal-content {
        max-width: 95%;
        border-radius: 12px;
    }

    .modal-header,
    .modal-body,
    .modal-footer {
        padding: 0.75rem;
    }
}

/* ============================================
   ACCESSIBILITY
   ============================================ */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus Styles */
*:focus-visible {
    outline: 2px solid var(--primary-purple);
    outline-offset: 2px;
}

/* ============================================
   PRINT STYLES
   ============================================ */
@media print {

    .header,
    .footer,
    .btn,
    .modal {
        display: none !important;
    }

    body {
        background: white;
        color: black;
    }

    .card {
        border: 1px solid #ccc;
        box-shadow: none;
        break-inside: avoid;
    }
}