/**
 * owlintel-webui-nxt Theme Integration
 * CSS Custom Properties for consistent theming across the tips form
 */

:root {
  /* Primary Colors */
  --primary-color: #213163;
  --primary-color-light: #2c4a7a;
  --primary-color-dark: #1a2850;
  
  /* Button Colors */
  --btn-green: #0b944f;
  --btn-green-hover: #096838;
  --btn-green-active: #075a2e;
  --btn-green-disabled: #6c757d;
  
  /* Border and Background Colors */
  --border-color: #dee2e6;
  --border-color-focus: #86b7fe;
  --background-light: #f8f9fa;
  --background-white: #ffffff;
  --background-disabled: #e9ecef;
  
  /* Text Colors */
  --text-primary: #212529;
  --text-secondary: #495055;
  --text-muted: #6c757d;
  --text-white: #ffffff;
  --text-label: #213163;
  
  /* Status Colors */
  --error-color: #721c24;
  --error-bg: #f8d7da;
  --error-border: #f5c2c7;
  --success-color: #0b944f;
  --success-bg: #d1e7dd;
  --success-border: #badbcc;
  --warning-color: #664d03;
  --warning-bg: #fff3cd;
  --warning-border: #ffecb5;
  --info-color: #055160;
  --info-bg: #cff4fc;
  --info-border: #b6effb;
  
  /* Gray Scale */
  --gray-100: #f8f9fa;
  --gray-200: #e9ecef;
  --gray-300: #dee2e6;
  --gray-400: #ced4da;
  --gray-500: #adb5bd;
  --gray-600: #6c757d;
  --gray-700: #495055;
  --gray-800: #343a40;
  --gray-900: #212529;
  
  /* Typography */
  --font-family-primary: "IBM Plex Sans", "Helvetica Neue", Arial, sans-serif;
  --font-family-monospace: "IBM Plex Mono", "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
  
  /* Font Sizes */
  --font-size-xs: 0.75rem;      /* 12px */
  --font-size-sm: 0.8125rem;    /* 13px */
  --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 Weights */
  --font-weight-light: 300;
  --font-weight-normal: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;
  --font-weight-extrabold: 800;
  
  /* Line Heights */
  --line-height-tight: 1.25;
  --line-height-normal: 1.5;
  --line-height-relaxed: 1.625;
  --line-height-loose: 2;
  
  /* Spacing Scale */
  --spacing-xs: 0.25rem;    /* 4px */
  --spacing-sm: 0.5rem;     /* 8px */
  --spacing-md: 0.75rem;    /* 12px */
  --spacing-lg: 1rem;       /* 16px */
  --spacing-xl: 1.25rem;    /* 20px */
  --spacing-2xl: 1.5rem;    /* 24px */
  --spacing-3xl: 2rem;      /* 32px */
  --spacing-4xl: 2.5rem;    /* 40px */
  --spacing-5xl: 3rem;      /* 48px */
  
  /* Border Radius */
  --border-radius-sm: 0.125rem;  /* 2px */
  --border-radius: 0.25rem;      /* 4px */
  --border-radius-md: 0.375rem;  /* 6px */
  --border-radius-lg: 0.5rem;    /* 8px */
  --border-radius-xl: 0.75rem;   /* 12px */
  --border-radius-2xl: 1rem;     /* 16px */
  --border-radius-full: 9999px;
  
  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  
  /* Form Control Dimensions */
  --form-control-height: 2.5625rem;  /* 41px */
  --form-control-padding-x: 0.75rem; /* 12px */
  --form-control-padding-y: 0.625rem; /* 10px */
  --form-control-border-width: 1px;
  
  /* Button Dimensions */
  --btn-padding-x: 1rem;
  --btn-padding-y: 0.5rem;
  --btn-font-size: var(--font-size-sm);
  --btn-border-radius: var(--border-radius);
  --btn-min-width: 5.625rem; /* 90px */
  
  /* Transitions */
  --transition-fast: 0.15s ease-in-out;
  --transition-normal: 0.3s ease-in-out;
  --transition-slow: 0.5s ease-in-out;
  
  /* Z-Index Scale */
  --z-index-dropdown: 1000;
  --z-index-sticky: 1020;
  --z-index-fixed: 1030;
  --z-index-modal-backdrop: 1040;
  --z-index-modal: 1050;
  --z-index-popover: 1060;
  --z-index-tooltip: 1070;
}

/* IBM Plex Sans Font Integration */
@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;1,100;1,200;1,300;1,400;1,500;1,600;1,700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;1,100;1,200;1,300;1,400;1,500;1,600;1,700&display=swap');

/* Base Typography Reset */
* {
  box-sizing: border-box;
}

html {
  font-size: 16px;
  line-height: var(--line-height-normal);
}

body {
  font-family: var(--font-family-primary) !important;
  font-size: var(--font-size-base) !important;
  font-weight: var(--font-weight-normal) !important;
  line-height: var(--line-height-normal) !important;
  color: var(--text-primary) !important;
  background-color: var(--background-light);
  margin: 0 !important;
  padding: 0 !important;
}

/* Ensure consistent font rendering */
body, input, textarea, select, button {
  font-family: var(--font-family-primary);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}