/**
 * Eaglora HRMS — CSS Custom Properties
 * Cloud Kite Solutions Brand Theme
 * Extracted from: https://cloudkitesolutions.in/
 * Generated: 2026-05-26
 */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

:root {

  /* ========================================
     PRIMARY BRAND COLORS
     Extracted from cloudkitesolutions.in
     ======================================== */

  --color-primary:         #1e3a8a;   /* Brand Blue  — CKS primary */
  --color-primary-dark:    #1e3075;   /* Darker shade for hover */
  --color-primary-xdark:   #172558;   /* Deepest — pressed states */
  --color-primary-light:   #2563eb;   /* Lighter blue */
  --color-primary-pale:    #dbeafe;   /* Very light — backgrounds */

  --color-secondary:       #0ea5e9;   /* Brand Sky — CKS accent */
  --color-secondary-dark:  #0284c7;   /* Hover state */
  --color-secondary-light: #38bdf8;   /* Lighter sky */
  --color-secondary-pale:  #e0f2fe;   /* Very light — chip backgrounds */

  /* ========================================
     NEUTRAL COLORS
     ======================================== */

  --color-white:           #ffffff;
  --color-gray-50:         #f8fafc;   /* slate-50 */
  --color-gray-100:        #f1f5f9;   /* slate-100 */
  --color-gray-200:        #e2e8f0;   /* slate-200 */
  --color-gray-300:        #cbd5e1;   /* slate-300 */
  --color-gray-400:        #94a3b8;   /* slate-400 */
  --color-gray-500:        #64748b;   /* slate-500 */
  --color-gray-600:        #475569;   /* slate-600 */
  --color-gray-700:        #334155;   /* slate-700 */
  --color-gray-800:        #1e293b;   /* slate-800 */
  --color-gray-900:        #0f172a;   /* slate-900 */

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

  --color-success:         #10b981;   /* Emerald */
  --color-success-light:   #d1fae5;
  --color-warning:         #f59e0b;   /* Amber */
  --color-warning-light:   #fef3c7;
  --color-error:           #ef4444;   /* Red */
  --color-error-light:     #fee2e2;
  --color-info:            #3b82f6;   /* Blue */
  --color-info-light:      #dbeafe;

  /* ========================================
     SURFACE / BACKGROUND
     ======================================== */

  --color-bg-page:         #f8fafc;
  --color-bg-surface:      #ffffff;
  --color-bg-sunken:       #f1f5f9;
  --color-border:          #e2e8f0;
  --color-border-light:    #f1f5f9;
  --color-border-focus:    #0ea5e9;

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

  --color-text-primary:    #0f172a;
  --color-text-secondary:  #475569;
  --color-text-muted:      #94a3b8;
  --color-text-placeholder:#cbd5e1;
  --color-text-link:       #0ea5e9;
  --color-text-inverted:   #ffffff;

  /* ========================================
     SIDEBAR
     ======================================== */

  --color-sidebar-bg:          #0F172A;
  --color-sidebar-bg2:         #16243D;   /* submenu container */
  --color-sidebar-text:        #CBD5E1;
  --color-sidebar-icon:        #94A3B8;
  --color-sidebar-muted:       #94A3B8;
  --color-sidebar-hover-bg:    #1E293B;
  --color-sidebar-hover-text:  #FFFFFF;
  --color-sidebar-active:      #2563EB;
  --color-sidebar-active-text: #FFFFFF;
  --color-sidebar-active-radius: 10px;
  --color-sidebar-sub-text:    #AFC4E8;
  --color-sidebar-sub-active:  rgba(37, 99, 235, 0.15);
  --color-sidebar-sub-accent:  #60A5FA;
  --color-sidebar-border:      rgba(255, 255, 255, 0.06);

  /* ========================================
     NAVBAR
     ======================================== */

  --color-navbar-bg:       #ffffff;
  --color-navbar-border:   #e2e8f0;
  --color-navbar-text:     #0f172a;
  --color-navbar-icon:     #64748b;

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

  --font-primary:          'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono:             'Fira Code', 'Courier New', Consolas, monospace;

  --font-size-xs:          0.75rem;    /* 12px */
  --font-size-sm:          0.875rem;   /* 14px */
  --font-size-base:        1rem;       /* 16px */
  --font-size-lg:          1.125rem;   /* 18px */
  --font-size-xl:          1.25rem;    /* 20px */
  --font-size-2xl:         1.5rem;     /* 24px */
  --font-size-3xl:         1.875rem;   /* 30px */
  --font-size-4xl:         2.25rem;    /* 36px */

  --font-weight-light:     300;
  --font-weight-regular:   400;
  --font-weight-medium:    500;
  --font-weight-semibold:  600;
  --font-weight-bold:      700;
  --font-weight-extrabold: 800;

  --line-height-tight:     1.25;
  --line-height-snug:      1.375;
  --line-height-base:      1.5;
  --line-height-relaxed:   1.625;

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

  --spacing-1:             0.25rem;   /* 4px  */
  --spacing-2:             0.5rem;    /* 8px  */
  --spacing-3:             0.75rem;   /* 12px */
  --spacing-4:             1rem;      /* 16px */
  --spacing-5:             1.25rem;   /* 20px */
  --spacing-6:             1.5rem;    /* 24px */
  --spacing-8:             2rem;      /* 32px */
  --spacing-10:            2.5rem;    /* 40px */
  --spacing-12:            3rem;      /* 48px */
  --spacing-16:            4rem;      /* 64px */

  /* Legacy aliases used by components */
  --spacing-xs:            0.25rem;
  --spacing-sm:            0.5rem;
  --spacing-md:            1rem;
  --spacing-lg:            1.5rem;
  --spacing-xl:            2rem;
  --spacing-2xl:           3rem;

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

  --border-width:          1px;
  --border-radius-xs:      0.125rem;  /* 2px  */
  --border-radius-sm:      0.25rem;   /* 4px  */
  --border-radius-md:      0.5rem;    /* 8px  */
  --border-radius-lg:      0.75rem;   /* 12px */
  --border-radius-xl:      1rem;      /* 16px */
  --border-radius-2xl:     1.5rem;    /* 24px */
  --border-radius-full:    9999px;

  /* Component-specific radii */
  --radius-btn:            0.625rem;  /* 10px */
  --radius-card:           1rem;      /* 16px */
  --radius-table:          0.875rem;  /* 14px */
  --radius-input:          0.5rem;    /* 8px  */
  --radius-badge:          9999px;
  --radius-modal:          1rem;

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

  --shadow-xs:    0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-sm:    0 1px 3px 0 rgba(0, 0, 0, 0.08), 0 1px 2px -1px rgba(0, 0, 0, 0.06);
  --shadow-md:    0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.06);
  --shadow-lg:    0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.05);
  --shadow-xl:    0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.04);
  --shadow-2xl:   0 25px 50px -12px rgba(0, 0, 0, 0.18);
  --shadow-inner: inset 0 2px 4px 0 rgba(0, 0, 0, 0.06);
  --shadow-none:  0 0 #0000;

  /* Brand-colored glows */
  --shadow-primary:  0 4px 14px 0 rgba(30, 58, 138, 0.25);
  --shadow-sky:      0 4px 14px 0 rgba(14, 165, 233, 0.25);

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

  --transition-fast:   150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base:   200ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow:   300ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-bounce: 300ms cubic-bezier(0.34, 1.56, 0.64, 1);

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

  --z-base:       0;
  --z-raised:     10;
  --z-dropdown:   100;
  --z-sticky:     200;
  --z-overlay:    500;
  --z-modal:      1000;
  --z-toast:      1100;
  --z-tooltip:    1200;
}

/* ============================================================
   DARK MODE SUPPORT
   Apply to body or a wrapper with data-theme="dark"
   ============================================================ */
[data-theme="dark"] {
  --color-bg-page:        #1e293b;
  --color-bg-surface:     #0f172a;
  --color-bg-sunken:      #0c1526;
  --color-border:         #334155;
  --color-border-light:   #1e293b;

  --color-text-primary:   #f1f5f9;
  --color-text-secondary: #cbd5e1;
  --color-text-muted:     #64748b;

  --color-navbar-bg:      #0f172a;
  --color-navbar-border:  #1e293b;
  --color-navbar-text:    #f1f5f9;
  --color-navbar-icon:    #94a3b8;
}
