﻿@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Outfit:wght@500;600;700;800&display=swap");

:root {
    /* Brand — Booking.com-inspired blues */
    --brand-900: #003580;
    --brand-800: #00487a;
    --primary: #0071c2;
    --primary-dark: #003580;
    --primary-light: #5bbaff;
    --primary-soft: #e7f0ff;
    --primary-muted: #b8d4f0;
    --primary-glow: rgba(0, 113, 194, 0.2);
    --accent: var(--primary);

    /* Semantic */
    --success: #008009;
    --success-soft: #e6f4e7;
    --warning: #febb02;
    --warning-soft: #fff8e6;
    --danger: #cc0000;
    --danger-soft: #fde8e8;
    --info: var(--primary);
    --info-soft: var(--primary-soft);

    /* Neutrals */
    --white: #ffffff;
    --bg-main: #ffffff;
    --bg-alt: #f5f7fa;
    --bg-soft: #eef2f7;
    --slate-50: #f8fafc;
    --slate-100: #f1f5f9;
    --slate-200: #e2e8f0;
    --slate-300: #cbd5e1;
    --slate-400: #94a3b8;
    --slate-500: #64748b;
    --slate-600: #475569;
    --slate-700: #334155;
    --slate-800: #1e293b;
    --slate-900: #0f172a;

    /* Text */
    --text-main: var(--slate-900);
    --text-muted: var(--slate-500);
    --text-inverse: var(--white);

    /* Borders */
    --border-light: rgba(15, 23, 42, 0.08);
    --border-medium: rgba(15, 23, 42, 0.12);
    --border-soft: rgba(0, 113, 194, 0.12);
    --border-strong: rgba(0, 53, 128, 0.22);

    /* Glass */
    --glass-bg: rgba(255, 255, 255, 0.88);
    --glass-border: rgba(0, 113, 194, 0.1);
    --glass-blur: 12px;

    /* Shadows */
    --shadow-xs: 0 1px 2px rgba(15, 23, 42, 0.05);
    --shadow-sm: 0 4px 12px rgba(15, 23, 42, 0.06);
    --shadow-md: 0 10px 30px rgba(15, 23, 42, 0.08);
    --shadow-lg: 0 20px 50px rgba(15, 23, 42, 0.12);
    --shadow-brand: 0 8px 24px rgba(0, 113, 194, 0.22);

    /* Radius */
    --radius-xs: 6px;
    --radius-sm: 10px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --radius-pill: 999px;

    /* Spacing scale */
    --space-1: 0.25rem;
    --space-2: 0.5rem;
    --space-3: 0.75rem;
    --space-4: 1rem;
    --space-5: 1.25rem;
    --space-6: 1.5rem;
    --space-8: 2rem;
    --space-10: 2.5rem;
    --space-12: 3rem;
    --space-16: 4rem;

    /* Typography scale */
    --text-xs: 0.75rem;
    --text-sm: 0.875rem;
    --text-base: 1rem;
    --text-lg: 1.125rem;
    --text-xl: 1.25rem;
    --text-2xl: 1.5rem;
    --text-3xl: 1.875rem;
    --text-4xl: 2.25rem;

    /* Layout */
    --header-height: 68px;
    --header-height-scrolled: 60px;
    --section-padding: 6rem;
    --container-max: 1200px;
    --tap-min: 44px;

    /* Dashboard shell */
    --sidebar-width: 260px;
    --sidebar-collapsed-width: 76px;
    --dashboard-sidebar-width: 260px;
    --dashboard-sidebar-collapsed-width: 76px;
    --dashboard-topbar-height: 60px;

    /* Typography families */
    --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
    --font-display: "Outfit", var(--font-body);

    /* Z-index scale */
    --z-base: 1;
    --z-dropdown: 1000;
    --z-sticky: 1020;
    --z-fixed: 1030;
    --z-modal-backdrop: 1040;
    --z-modal: 1050;
    --z-popover: 1060;
    --z-tooltip: 1070;
    --z-header: 10000;
    --z-mobile-backdrop: 11990;
    --z-mobile-nav: 12000;

    /* Motion */
    --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
    --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: 0.15s var(--ease-in-out);
    --transition-base: 0.2s var(--ease-in-out);
    --transition-smooth: all 0.35s var(--ease-out);
}

@media (max-width: 768px) {
    :root {
        --header-height: 60px;
        --header-height-scrolled: 56px;
        --section-padding: 4rem;
        --dashboard-topbar-height: 56px;
    }
}
