/**
 * ==========================================================================
 * GestHotels Design System
 * Design Tokens
 * File: gh-tokens.css
 * Versione: 1.0.0
 * ==========================================================================
 *
 * Questo file contiene esclusivamente valori grafici condivisi.
 *
 * Regole:
 * - nessuna classe CSS;
 * - nessuna regola specifica di modulo;
 * - nessun selettore HTML;
 * - soltanto custom properties;
 * - i temi futuri sovrascriveranno questi token.
 */

:root {
    /* ==========================================================
       BRAND
    ========================================================== */

    --gh-color-primary: #1f2937;
    --gh-color-primary-hover: #111827;
    --gh-color-primary-active: #0f172a;
    --gh-color-primary-soft: #e8edf3;

    --gh-color-secondary: #475569;
    --gh-color-secondary-hover: #334155;
    --gh-color-secondary-soft: #f1f5f9;

    --gh-color-accent: #2563eb;
    --gh-color-accent-hover: #1d4ed8;
    --gh-color-accent-soft: #dbeafe;


    /* ==========================================================
       SEMANTIC COLORS
    ========================================================== */

    --gh-color-success: #15803d;
    --gh-color-success-hover: #166534;
    --gh-color-success-soft: #dcfce7;

    --gh-color-warning: #d97706;
    --gh-color-warning-hover: #b45309;
    --gh-color-warning-soft: #fef3c7;

    --gh-color-danger: #dc2626;
    --gh-color-danger-hover: #b91c1c;
    --gh-color-danger-soft: #fee2e2;

    --gh-color-info: #2563eb;
    --gh-color-info-hover: #1d4ed8;
    --gh-color-info-soft: #dbeafe;


    /* ==========================================================
       SURFACES
    ========================================================== */

    --gh-surface-page: #f8fafc;
    --gh-surface-card: #ffffff;
    --gh-surface-muted: #f1f5f9;
    --gh-surface-elevated: #ffffff;
    --gh-surface-overlay: rgba(15, 23, 42, 0.55);


    /* ==========================================================
       TEXT
    ========================================================== */

    --gh-text-primary: #0f172a;
    --gh-text-secondary: #475569;
    --gh-text-muted: #64748b;
    --gh-text-disabled: #94a3b8;
    --gh-text-on-primary: #ffffff;
    --gh-text-on-danger: #ffffff;


    /* ==========================================================
       BORDERS
    ========================================================== */

    --gh-border-default: #dbe2ea;
    --gh-border-muted: #e2e8f0;
    --gh-border-strong: #94a3b8;
    --gh-border-focus: #2563eb;


    /* ==========================================================
       PRIORITIES
    ========================================================== */

    --gh-priority-low-bg: #f3f4f6;
    --gh-priority-low-text: #374151;
    --gh-priority-low-border: #d1d5db;

    --gh-priority-medium-bg: #fce7f3;
    --gh-priority-medium-text: #9d174d;
    --gh-priority-medium-border: #f9a8d4;

    --gh-priority-high-bg: #fef3c7;
    --gh-priority-high-text: #92400e;
    --gh-priority-high-border: #fcd34d;

    --gh-priority-urgent-bg: #dc2626;
    --gh-priority-urgent-text: #ffffff;
    --gh-priority-urgent-border: #991b1b;


    /* ==========================================================
       TICKET STATUSES
    ========================================================== */

    --gh-status-open-bg: #e2e8f0;
    --gh-status-open-text: #334155;

    --gh-status-taken-bg: #dbeafe;
    --gh-status-taken-text: #1d4ed8;

    --gh-status-assigned-bg: #ede9fe;
    --gh-status-assigned-text: #6d28d9;

    --gh-status-progress-bg: #dcfce7;
    --gh-status-progress-text: #166534;

    --gh-status-suspended-bg: #f1f5f9;
    --gh-status-suspended-text: #475569;

    --gh-status-closed-bg: #d9ead3;
    --gh-status-closed-text: #166534;

    --gh-status-urgent-bg: #fee2e2;
    --gh-status-urgent-text: #b91c1c;


    /* ==========================================================
       TYPOGRAPHY
    ========================================================== */

    --gh-font-family-base:
        Inter,
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;

    --gh-font-family-mono:
        "SFMono-Regular",
        Consolas,
        "Liberation Mono",
        monospace;

    --gh-font-size-xs: 0.75rem;
    --gh-font-size-sm: 0.875rem;
    --gh-font-size-base: 1rem;
    --gh-font-size-lg: 1.125rem;
    --gh-font-size-xl: 1.25rem;
    --gh-font-size-2xl: 1.5rem;
    --gh-font-size-3xl: 1.875rem;

    --gh-font-weight-normal: 400;
    --gh-font-weight-medium: 500;
    --gh-font-weight-semibold: 600;
    --gh-font-weight-bold: 700;

    --gh-line-height-tight: 1.25;
    --gh-line-height-base: 1.5;
    --gh-line-height-relaxed: 1.7;


    /* ==========================================================
       SPACING
    ========================================================== */

    --gh-space-0: 0;
    --gh-space-1: 0.25rem;
    --gh-space-2: 0.5rem;
    --gh-space-3: 0.75rem;
    --gh-space-4: 1rem;
    --gh-space-5: 1.25rem;
    --gh-space-6: 1.5rem;
    --gh-space-8: 2rem;
    --gh-space-10: 2.5rem;
    --gh-space-12: 3rem;


    /* ==========================================================
       RADIUS
    ========================================================== */

    --gh-radius-sm: 0.375rem;
    --gh-radius-md: 0.5rem;
    --gh-radius-lg: 0.75rem;
    --gh-radius-xl: 1rem;
    --gh-radius-pill: 9999px;


    /* ==========================================================
       SHADOWS
    ========================================================== */

    --gh-shadow-sm:
        0 1px 2px rgba(15, 23, 42, 0.06);

    --gh-shadow-card:
        0 4px 14px rgba(15, 23, 42, 0.08);

    --gh-shadow-elevated:
        0 12px 30px rgba(15, 23, 42, 0.14);

    --gh-shadow-focus:
        0 0 0 3px rgba(37, 99, 235, 0.22);


    /* ==========================================================
       COMPONENT DIMENSIONS
    ========================================================== */

    --gh-control-height-sm: 2.25rem;
    --gh-control-height: 2.75rem;
    --gh-control-height-lg: 3.25rem;

    --gh-header-height: 4rem;
    --gh-sidebar-width: 17rem;
    --gh-content-max-width: 90rem;

    --gh-touch-target-min: 2.75rem;


    /* ==========================================================
       TRANSITIONS
    ========================================================== */

    --gh-transition-fast: 120ms ease;
    --gh-transition-base: 180ms ease;
    --gh-transition-slow: 280ms ease;


    /* ==========================================================
       Z-INDEX
    ========================================================== */

    --gh-z-base: 1;
    --gh-z-header: 100;
    --gh-z-dropdown: 200;
    --gh-z-overlay: 900;
    --gh-z-modal: 1000;
    --gh-z-toast: 1100;
}