/* === UAE Visa Processing Platform — Theme === */

:root {
  --bg-primary: #FFFFFF;
  --bg-secondary: #F7F5F0;
  --bg-card: #FFFFFF;
  --bg-card-hover: #FBF9F5;
  --bg-hero: linear-gradient(135deg, #FFFFFF 0%, #F7F5F0 50%, #FDF8F0 100%);
  --text-primary: #3D3832;
  --text-secondary: #5C564E;
  --text-muted: #8A8279;
  --text-heading: #1E1B17;
  --accent-primary: #B89530;
  --accent-glow: #C9A53E;
  --accent-secondary: #9A7B1F;
  --accent-success: #0D8A60;
  --accent-warning: #D48806;
  --accent-danger: #D93025;
  --accent-info: #B89530;
  --border-subtle: #E8E3DA;
  --border-card: #DDD7CC;
  --font-main: 'Inter', system-ui, -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --glow-shadow: 0 0 20px rgba(184, 149, 48, 0.25);
  --glow-shadow-lg: 0 0 40px rgba(184, 149, 48, 0.18);
  --transition-fast: 150ms ease;
  --transition-normal: 250ms ease;
  --transition-slow: 400ms ease;
  --sidebar-width: 260px;
  --header-height: 0px;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-main);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.7;
  min-height: 100vh;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--text-heading);
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 1.875rem; margin-bottom: 1rem; }
h3 { font-size: 1.375rem; margin-bottom: 0.75rem; }
h4 { font-size: 1.125rem; margin-bottom: 0.5rem; }

p {
  color: var(--text-secondary);
  margin-bottom: 1rem;
  max-width: 72ch;
}

a {
  color: var(--accent-primary);
  text-decoration: none;
  transition: color var(--transition-fast);
}
a:hover { color: var(--accent-glow); }

code, pre {
  font-family: var(--font-mono);
  font-size: 0.875rem;
}

code {
  background: #F5F0E5;
  padding: 0.15em 0.4em;
  border-radius: 4px;
  color: #9A7B1F;
}

pre {
  background: #FAF7F2;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  overflow-x: auto;
}

ul, ol {
  padding-left: 1.5rem;
  color: var(--text-secondary);
}
li { margin-bottom: 0.35rem; }
li::marker { color: var(--accent-primary); }

table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
}
th, td {
  padding: 0.75rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--border-subtle);
}
th {
  color: var(--text-heading);
  font-weight: 600;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: #F5F0E5;
}
td { color: var(--text-secondary); }
tr:hover td { background: rgba(184, 149, 48, 0.12); }

::selection {
  background: rgba(184, 149, 48, 0.35);
  color: var(--text-heading);
}

::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: #F5F2EC; }
::-webkit-scrollbar-thumb {
  background: #D0C9BD;
  border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover { background: #B8B0A3; }

.text-accent { color: var(--accent-primary); }
.text-success { color: var(--accent-success); }
.text-warning { color: var(--accent-warning); }
.text-danger { color: var(--accent-danger); }
.text-muted { color: var(--text-muted); }
.text-mono { font-family: var(--font-mono); }
.text-sm { font-size: 0.875rem; }
.text-xs { font-size: 0.75rem; }
.text-lg { font-size: 1.125rem; }
.text-center { text-align: center; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.gap-1 { gap: 0.5rem; }
.gap-2 { gap: 1rem; }
.gap-3 { gap: 1.5rem; }
