:root {
  color-scheme: light;

  /* Oceanic & Cyan Color Palette */
  --primary-deep-navy: #0A192F;
  --secondary-sea-blue: #0284C7;
  --accent-cyan: #06B6D4;
  --accent-light-cyan: #E0F2FE;
  --accent-ice-blue: #F0F9FF;
  --surface-card: #FFFFFF;
  --text-dark: #0F172A;
  --text-muted: #64748B;
  
  /* Gradients */
  --gradient-oceanic: linear-gradient(135deg, #0A192F 0%, #0369A1 50%, #06B6D4 100%);
  --gradient-hero: linear-gradient(180deg, #E0F2FE 0%, #FFFFFF 100%);
  --gradient-btn: linear-gradient(90deg, #0284C7 0%, #06B6D4 100%);
  --gradient-card: linear-gradient(145deg, #FFFFFF 0%, #F0F9FF 100%);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  color-scheme: light;
}

body {
  margin: 0;
  padding: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  background-color: var(--accent-ice-blue);
  color: var(--text-dark);
  min-height: 100vh;
}

/* ====================================================
   Universal Form Controls & Black Caret Enforcement
==================================================== */
input,
select,
textarea {
  color: var(--text-dark) !important;
  background-color: #FFFFFF !important;
  border: 1.5px solid #CBD5E1;
  border-radius: 10px;
  padding: 0.75rem 1rem;
  font-size: 0.95rem;
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  
  /* Forces light rendering across Windows Dark Mode */
  color-scheme: light !important;
  
  /* Locks the typing vertical bar strictly to solid black */
  caret-color: #000000 !important;
  cursor: text !important;
}

select {
  cursor: pointer !important;
}

/* Hover and Focus States */
input:hover,
textarea:hover {
  background-color: #FFFFFF !important;
  color: var(--text-dark) !important;
  border-color: var(--secondary-sea-blue);
  caret-color: #000000 !important;
  cursor: text !important;
}

select:hover {
  background-color: #FFFFFF !important;
  color: var(--text-dark) !important;
  border-color: var(--secondary-sea-blue);
  cursor: pointer !important;
}

input:focus,
textarea:focus {
  background-color: #FFFFFF !important;
  color: var(--text-dark) !important;
  border-color: var(--accent-cyan) !important;
  box-shadow: 0 0 0 3px rgba(6, 182, 212, 0.25);
  caret-color: #000000 !important;
  cursor: text !important;
}

select:focus {
  background-color: #FFFFFF !important;
  color: var(--text-dark) !important;
  border-color: var(--accent-cyan) !important;
  box-shadow: 0 0 0 3px rgba(6, 182, 212, 0.25);
  cursor: pointer !important;
}

/* Placeholder Styling */
input::placeholder,
textarea::placeholder {
  color: var(--text-muted);
  opacity: 1;
}

/* Prevents Browser Autofill from Inverting Field Colors */
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
textarea:-webkit-autofill,
select:-webkit-autofill {
  -webkit-text-fill-color: var(--text-dark) !important;
  -webkit-box-shadow: 0 0 0px 1000px #FFFFFF inset !important;
  caret-color: #000000 !important;
  transition: background-color 5000s ease-in-out 0s;
}