:root {
   /* === IMMO APP DESIGN SYSTEM === */

   /* 
     CORE COLOR PALETTE (RGB Values)
     Used for generating transparent glass effects
  */
   --immo-blue-rgb: 60, 145, 230;
   /* Primary Action */
   --immo-green-rgb: 2, 168, 115;
   /* Success / Positive */
   --immo-yellow-rgb: 255, 193, 7;
   /* Warning / Pending */
   --immo-red-rgb: 254, 74, 73;
   /* Danger / Error */
   --immo-turquoise-rgb: 57, 162, 174;
   /* Info / Neutral-Info */
   --immo-grey-rgb: 107, 114, 128;
   /* Neutral / Secondary */

   --immo-white-rgb: 255, 255, 255;
   --immo-black-rgb: 0, 0, 0;

   /* 
     STANDARD COLOR SUITES 
     Generated from core palette. Use these for ALL UI elements.
  */
   --test-color-violet: Slateblue;
   --test-color-orange: Orange;
   --test-color-red: Tomato;
   --test-color-blue: DodgerBlue;
   --test-rgba: rgba(127, 127, 127, 0.9);
   --test-hex: #6a5acd;
   --test-hsl: hsl(147, 50%, 47%);


   /* BLUE (Primary) */
   --immo-color-blue: rgb(var(--immo-blue-rgb));
   --immo-glass-blue: rgba(var(--immo-blue-rgb), 0.15);
   /* Backgrounds, Badges */
   --immo-glass-blue-strong: rgba(var(--immo-blue-rgb), 0.85);
   /* Buttons */
   --immo-glass-blue-border: rgba(var(--immo-blue-rgb), 0.3);

   /* GREEN (Success) */
   --immo-color-green: rgb(var(--immo-green-rgb));
   --immo-glass-green: rgba(var(--immo-green-rgb), 0.15);
   --immo-glass-green-strong: rgba(var(--immo-green-rgb), 0.85);
   --immo-glass-green-border: rgba(var(--immo-green-rgb), 0.3);

   /* YELLOW (Warning) */
   --immo-color-yellow: rgb(var(--immo-yellow-rgb));
   --immo-glass-yellow: rgba(var(--immo-yellow-rgb), 0.15);
   --immo-glass-yellow-strong: rgba(var(--immo-yellow-rgb), 0.85);
   --immo-glass-yellow-border: rgba(var(--immo-yellow-rgb), 0.3);

   /* RED (Danger) */
   --immo-color-red: rgb(var(--immo-red-rgb));
   --immo-glass-red: rgba(var(--immo-red-rgb), 0.15);
   --immo-glass-red-strong: rgba(var(--immo-red-rgb), 0.85);
   --immo-glass-red-border: rgba(var(--immo-red-rgb), 0.3);

   /* TURQUOISE (Info) */
   --immo-color-turquoise: rgb(var(--immo-turquoise-rgb));
   --immo-glass-turquoise: rgba(var(--immo-turquoise-rgb), 0.15);
   --immo-glass-turquoise-strong: rgba(var(--immo-turquoise-rgb), 0.85);
   --immo-glass-turquoise-border: rgba(var(--immo-turquoise-rgb), 0.3);

   /* GREY (Neutral/Secondary) */
   --immo-color-grey: rgb(var(--immo-grey-rgb));
   --immo-glass-grey: rgba(var(--immo-grey-rgb), 0.15);
   --immo-glass-grey-strong: rgba(var(--immo-grey-rgb), 0.6);
   /* Slightly less opacity for secondary buttons */
   --immo-glass-grey-border: rgba(var(--immo-grey-rgb), 0.3);


   /* 
     SEMANTIC MAPPING
     Map functional roles to core color suites.
  */

   /* Primary Actions */
   --immo-primary: var(--immo-color-blue);

   /* Functional States */
   --immo-success: var(--immo-color-green);
   --immo-warning: var(--immo-color-yellow);
   --immo-danger: var(--immo-color-red);
   --immo-info: var(--immo-color-turquoise);
   --immo-secondary: var(--immo-color-grey);

   /* 
     LEGACY COMPATIBILITY & UTILITIES
  */
   --immo-blue: var(--immo-color-blue);
   --immo-light-blue: var(--immo-color-turquoise);
   /* Map old light blue to turquoise */
   --immo-light-blue-rgb: 57, 162, 174;
   /* Override legacy rgb var */

   --immo-alert-success-bg: var(--immo-glass-green);
   --immo-alert-danger-bg: var(--immo-glass-red);
   --immo-alert-warning-bg: var(--immo-glass-yellow);
   --immo-alert-info-bg: var(--immo-glass-turquoise);

   --immo-button-blue: var(--immo-color-blue);
   --immo-button-light-blue: var(--immo-color-turquoise);

   /* Text Colors */
   --immo-text-primary: black;
   --immo-text-secondary: #6b7280;
   --immo-text-muted: #9ca3af;
   --immo-text-white: #ffffff;
   /* Dark text for inside light glass badges */
   --immo-text-on-glass: #1f2937;

   /* Background Colors */
   --immo-bg-white: #f3f4f6;
   --immo-bg-gray-50: rgba(213, 213, 213);
   --immo-bg-gray-100: rgb(124, 123, 123);
   --immo-bg-gray-200: #3e3e3e;
   --table-header: rgba(39, 39, 39, 0.25);
   --immo-body-bg: white;
   --immo-body-gradient: linear-gradient(135deg, rgba(170, 135, 135, 0.8) 10%, rgba(0, 5, 98, 0.8) 90%);
   --immo-card: rgba(255, 255, 255, 0.8);
   /* Updated card to be cleaner */
   --immo-side-menu: rgba(39, 39, 39, 0.8);
   /*linear-gradient(90deg, rgba(39, 39, 39, 0.8) 98%, rgba(99, 99, 99, 0.3) 100%);
   /* Dark side navigation background */

   /* Border Colors */
   --immo-border-light: rgba(var(--immo-grey-rgb), 0.2);
   --immo-border-medium: rgba(var(--immo-grey-rgb), 0.4);

   /* Typography */
   --immo-font-family: "Inter F", sans-serif;
   --immo-font-weight-normal: 400;
   --immo-font-weight-medium: 500;
   --immo-font-weight-semibold: 600;
   --immo-font-weight-bold: 700;

   --immo-heading: #111827;

   /* Spacing Scale */
   --immo-space-xs: 0.25rem;
   /* 4px */
   --immo-space-sm: 0.5rem;
   /* 8px */
   --immo-space-md: 0.75rem;
   /* 12px */
   --immo-space-lg: 1rem;
   /* 16px */
   --immo-space-xl: 1.5rem;
   /* 24px */
   --immo-space-2xl: 2rem;
   /* 32px */

   /* Breakpoints */
   --immo-breakpoint-sm: 576px;
   --immo-breakpoint-md: 768px;
   --immo-breakpoint-lg: 992px;
   --immo-breakpoint-xl: 1200px;
   --immo-breakpoint-2xl: 1400px;

   /* Design Tokens */
   --immo-radius: 4px;
   --immo-radius-lg: 8px;
   --immo-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
   --immo-transition: 0.2s ease;
}

/* Base Body Styles */
body {
   font-family: var(--immo-font-family);
   color: var(--immo-text-primary);
   background: var(--immo-body-gradient), white;
   min-height: 100vh;
}

h1,
h2,
h3,
h4,
h5,
h6 {
   font-family: var(--immo-font-family);
   font-weight: var(--immo-font-weight-bold);
   color: var(--immo-heading);
}