/* ============================================
   OnHizmet Design System — White & Orange Theme
   ============================================ */
:root {
    /* ── Brand Colors (White & Orange) ── */
    --brand-primary: #FF6B00;
    --brand-primary-light: #FF8C33;
    --brand-primary-dark: #E85D04;
    --brand-primary-glow: rgba(255, 107, 0, 0.1);
    --brand-secondary: #E85D04;
    --brand-secondary-light: #FF9A3C;
    --brand-secondary-dark: #CC5200;
    --brand-accent: #4B7BEC;

    /* ── Grays ── */
    --gray-50: #F9FAFB;
    --gray-100: #F4F5F7;
    --gray-200: #E4E5E7;
    --gray-300: #CACDD4;
    --gray-400: #9BA3B5;
    --gray-500: #74767E;
    --gray-600: #4B5563;
    --gray-700: #3B414B;
    --gray-800: #2D3640;
    --gray-900: #1E252E;
    --gray-950: #141920;

    /* ── Semantic Colors ── */
    --success: #22C55E;
    --success-light: #F0FDF4;
    --warning: #FFB33E;
    --warning-light: #FFF5E0;
    --error: #EF4444;
    --error-light: #FEF2F2;
    --info: #4B7BEC;
    --info-light: #EBF0FD;

    /* ── Backgrounds ── */
    --bg-primary: #FFFFFF;
    --bg-secondary: #F4F5F7;
    --bg-tertiary: #EBEDF0;
    --bg-dark: #2D3640;

    /* ── Text ── */
    --text-primary: #2D3640;
    --text-secondary: #74767E;
    --text-tertiary: #9BA3B5;
    --text-inverse: #FFFFFF;
    --text-link: #FF6B00;

    /* ── Borders ── */
    --border-light: #E4E5E7;
    --border-default: #CACDD4;
    --border-focus: #FF6B00;

    /* ── Shadows ── */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 4px 16px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 8px 32px rgba(0, 0, 0, 0.12);
    --shadow-card: 0 0 10px rgba(0, 0, 0, 0.08);

    /* ── Typography ── */
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-xs: 0.75rem;
    --font-sm: 0.8125rem;
    --font-base: 0.9375rem;
    --font-md: 1rem;
    --font-lg: 1.125rem;
    --font-xl: 1.25rem;
    --font-2xl: 1.5rem;
    --font-3xl: 2rem;
    --font-4xl: 2.5rem;
    --font-5xl: 3rem;

    /* ── Spacing & Layout ── */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 10px;
    --radius-xl: 16px;
    --radius-2xl: 20px;
    --radius-full: 9999px;
    --transition-fast: 150ms ease;
    --transition-base: 250ms ease;
    --transition-slow: 400ms ease;
    --header-height: 64px;
    --sidebar-width: 260px;
    --max-width: 1240px;
}

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-family);
    font-size: var(--font-base);
    line-height: 1.5;
    color: var(--text-primary);
    background: var(--bg-secondary);
    min-height: 100vh;
}

a {
    color: var(--text-link);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--brand-primary);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

button {
    cursor: pointer;
    font-family: inherit;
    border: none;
    background: none;
}

input,
textarea,
select {
    font-family: inherit;
    font-size: inherit;
}

ul,
ol {
    list-style: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    line-height: 1.3;
    letter-spacing: -0.01em;
    color: var(--text-primary);
}

::selection {
    background: var(--brand-primary);
    color: white;
}

::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: var(--gray-300);
    border-radius: var(--radius-full);
}

.hidden {
    display: none !important;
}

/* ── Animations ── */
@keyframes fadeIn {
    from {
        opacity: 0
    }

    to {
        opacity: 1
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(16px)
    }

    to {
        opacity: 1;
        transform: translateY(0)
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-8px)
    }

    to {
        opacity: 1;
        transform: translateY(0)
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(16px)
    }

    to {
        opacity: 1;
        transform: translateX(0)
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(.97)
    }

    to {
        opacity: 1;
        transform: scale(1)
    }
}

@keyframes shimmer {
    0% {
        background-position: -200% 0
    }

    100% {
        background-position: 200% 0
    }
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1
    }

    50% {
        opacity: .5
    }
}

@keyframes spin {
    to {
        transform: rotate(360deg)
    }
}

.page-enter {
    animation: fadeInUp .3s ease forwards;
}

.gradient-text {
    background: linear-gradient(135deg, var(--brand-primary), var(--brand-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}