/*!
 * WHOIS101 Consolidated CSS - Single Source of Truth
 * Combines: tailwind-local.css, design-system.css, domain-tabs.css
 * Removes: Duplicates, conflicts, and empty files
 */

/* ==========================================================
   CUSTOM COLOR PALETTE - PASTEL THEME
   ========================================================== */

:root {
  /* Pastel Blue */
  --pastel-blue-50: #eff8ff;
  --pastel-blue-100: #dbeafe;
  --pastel-blue-200: #bfdbfe;
  --pastel-blue-300: #93c5fd;
  --pastel-blue-400: #60a5fa;
  --pastel-blue-500: #3b82f6;
  --pastel-blue-600: #2563eb;
  --pastel-blue-700: #1d4ed8;
  
  /* Pastel Green */
  --pastel-green-50: #f0fdf4;
  --pastel-green-100: #dcfce7;
  --pastel-green-200: #bbf7d0;
  --pastel-green-300: #86efac;
  --pastel-green-400: #4ade80;
  --pastel-green-500: #22c55e;
  --pastel-green-600: #16a34a;
  
  /* Pastel Pink */
  --pastel-pink-50: #fdf2f8;
  --pastel-pink-100: #fce7f3;
  --pastel-pink-200: #fbcfe8;
  --pastel-pink-300: #f9a8d4;
  --pastel-pink-400: #f472b6;
  --pastel-pink-500: #ec4899;
  --pastel-pink-600: #db2777;
  
  /* Light Gray */
  --light-gray-50: #f9fafb;
  --light-gray-100: #f3f4f6;
  --light-gray-200: #e5e7eb;
  --light-gray-300: #d1d5db;
  --light-gray-400: #9ca3af;
  --light-gray-500: #6b7280;
  --light-gray-600: #4b5563;
  --light-gray-700: #374151;
}

/* RESET & BASE */
*,
::before,
::after {
  box-sizing: border-box;
  border-width: 0;
  border-style: solid;
  border-color: #e5e7eb;
}

html {
  line-height: 1.5;
  -webkit-text-size-adjust: 100%;
  -moz-tab-size: 4;
  tab-size: 4;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  font-feature-settings: normal;
  font-variation-settings: normal;
  /* 112.5% of browser default 16px = 18px base (1rem) */
  font-size: 112.5%;
}

body {
  margin: 0;
  line-height: 1.6;
  font-size: 1rem; /* 18px */
}

/* WHOIS101 Typography Standards - Applied to Body Content Only */
/* These larger font standards only apply to content below the header body */
main h1, main .h1-standard, 
.content-area h1, .content-area .h1-standard,
.body-content h1, .body-content .h1-standard {
  font-size: 1.875rem !important; /* 30px - text-3xl */
  line-height: 1.2 !important;
  font-weight: 700 !important; /* font-bold */
}

@media (min-width: 768px) {
  main h1, main .h1-standard,
  .content-area h1, .content-area .h1-standard,
  .body-content h1, .body-content .h1-standard {
    font-size: 2.25rem !important; /* 36px - text-4xl */
  }
}

main h2, main .h2-standard,
.content-area h2, .content-area .h2-standard,
.body-content h2, .body-content .h2-standard {
  font-size: 1.5rem !important; /* 24px - text-2xl */
  line-height: 1.3 !important;
  font-weight: 600 !important; /* font-semibold */
}

/* Body text: 19-20px, text-lg, line-height 1.6 */
main .body-standard,
.content-area .body-standard,
.body-content .body-standard {
  font-size: 1.125rem; /* 18px - text-lg */
  line-height: 1.6;
}

/* Small text/notes: 16px, text-base, line-height 1.5 */
main .small-standard,
.content-area .small-standard,
.body-content .small-standard {
  font-size: 1rem; /* 16px - text-base */
  line-height: 1.5;
}

/* WHOIS data block: 18px, text-[1.125rem], line-height 1.6, monospace */
main .whois-data,
.content-area .whois-data,
.body-content .whois-data {
  font-size: 1.125rem;
  line-height: 1.6;
  font-family: ui-monospace, SFMono-Regular, "SF Mono", Consolas, "Liberation Mono", Menlo, monospace;
}

/* Standard font sizes for header body content (smaller, more appropriate for navigation) */
header h1, header .h1-standard {
  font-size: 1.5rem !important; /* 24px - text-2xl */
  line-height: 1.3 !important;
  font-weight: 600 !important; /* font-semibold */
}

header h2, header .h2-standard {
  font-size: 1.25rem !important; /* 20px - text-xl */
  line-height: 1.4 !important;
  font-weight: 500 !important; /* font-medium */
}

header .body-standard {
  font-size: 1rem; /* 16px - text-base */
  line-height: 1.5;
}

header .small-standard {
  font-size: 0.875rem; /* 14px - text-sm */
  line-height: 1.25;
}

/* ==========================================================
   ESSENTIAL UTILITY CLASSES
   ========================================================== */

/* Display */
.block { display: block; }
.inline-block { display: inline-block; }
.inline { display: inline; }
.flex { display: flex; }
.inline-flex { display: inline-flex; }
.grid { display: grid; }
.hidden { display: none; }

/* Position */
.static { position: static; }
.fixed { position: fixed; }
.absolute { position: absolute; }
.relative { position: relative; }

/* Container */
.container {
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

@media (min-width: 640px) {
  .container { max-width: 640px; }
}

@media (min-width: 768px) {
  .container { max-width: 768px; }
}

@media (min-width: 1024px) {
  .container { max-width: 1024px; }
}

@media (min-width: 1280px) {
  .container { max-width: 1280px; }
}

@media (min-width: 1536px) {
  .container { max-width: 1536px; }
}

/* Flexbox */
.flex-1 { flex: 1 1 0%; }
.flex-col { flex-direction: column; }
.flex-row { flex-direction: row; }
.flex-wrap { flex-wrap: wrap; }
.flex-nowrap { flex-wrap: nowrap; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.justify-start { justify-content: flex-start; }

/* Grid */
.grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
.grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

@media (min-width: 768px) {
  .md\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .md\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .md\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .md\:flex { display: flex; }
  .md\:hidden { display: none; }
}

@media (min-width: 1024px) {
  .lg\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lg\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .lg\:grid-cols-6 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
}

/* Spacing */
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }

.space-x-8 > :not([hidden]) ~ :not([hidden]) { 
  --tw-space-x-reverse: 0; 
  margin-right: calc(2rem * var(--tw-space-x-reverse)); 
  margin-left: calc(2rem * calc(1 - var(--tw-space-x-reverse))); 
}

.space-y-1 > :not([hidden]) ~ :not([hidden]) { 
  --tw-space-y-reverse: 0; 
  margin-top: calc(0.25rem * calc(1 - var(--tw-space-y-reverse))); 
  margin-bottom: calc(0.25rem * var(--tw-space-y-reverse)); 
}

.space-y-2 > :not([hidden]) ~ :not([hidden]) { 
  --tw-space-y-reverse: 0; 
  margin-top: calc(0.5rem * calc(1 - var(--tw-space-y-reverse))); 
  margin-bottom: calc(0.5rem * var(--tw-space-y-reverse)); 
}

.space-y-3 > :not([hidden]) ~ :not([hidden]) { 
  --tw-space-y-reverse: 0; 
  margin-top: calc(0.75rem * calc(1 - var(--tw-space-y-reverse))); 
  margin-bottom: calc(0.75rem * var(--tw-space-y-reverse)); 
}

.space-y-4 > :not([hidden]) ~ :not([hidden]) { 
  --tw-space-y-reverse: 0; 
  margin-top: calc(1rem * calc(1 - var(--tw-space-y-reverse))); 
  margin-bottom: calc(1rem * var(--tw-space-y-reverse)); 
}

/* Width & Height */
.w-3 { width: 0.75rem; }
.w-4 { width: 1rem; }
.w-5 { width: 1.25rem; }
.w-6 { width: 1.5rem; }
.w-full { width: 100%; }
.w-auto { width: auto; }
.w-48 { width: 12rem; }

.h-3 { height: 0.75rem; }
.h-4 { height: 1rem; }
.h-5 { height: 1.25rem; }
.h-6 { height: 1.5rem; }
.h-8 { height: 2rem; }
.h-10 { height: 2.5rem; }
.h-11 { height: 2.75rem; }
.h-12 { height: 3rem; }
.h-16 { height: 4rem; }
.min-h-screen { min-height: 100vh; }

/* Max Width */
.max-w-sm { max-width: 24rem; }
.max-w-xl { max-width: 36rem; }
.max-w-2xl { max-width: 42rem; }
.max-w-3xl { max-width: 48rem; }
.max-w-4xl { max-width: 56rem; }
.max-w-7xl { max-width: 80rem; }

/* Margins */
.m-0 { margin: 0px; }
.mx-auto { margin-left: auto; margin-right: auto; }
.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 0.75rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-10 { margin-bottom: 2.5rem; }
.mb-12 { margin-bottom: 3rem; }
.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-4 { margin-top: 1rem; }
.ml-1 { margin-left: 0.25rem; }
.ml-2 { margin-left: 0.5rem; }
.ml-3 { margin-left: 0.75rem; }
.mr-3 { margin-right: 0.75rem; }
.mr-4 { margin-right: 1rem; }

/* Padding */
.p-2 { padding: 0.5rem; }
.p-3 { padding: 0.75rem; }
.p-4 { padding: 1rem; }
.p-6 { padding: 1.5rem; }
.p-8 { padding: 2rem; }
.px-2 { padding-left: 0.5rem; padding-right: 0.5rem; }
.px-3 { padding-left: 0.75rem; padding-right: 0.75rem; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
.px-8 { padding-left: 2rem; padding-right: 2rem; }
.py-1 { padding-top: 0.25rem; padding-bottom: 0.25rem; }
.py-2 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.py-3 { padding-top: 0.75rem; padding-bottom: 0.75rem; }
.py-4 { padding-top: 1rem; padding-bottom: 1rem; }
.py-8 { padding-top: 2rem; padding-bottom: 2rem; }
.py-12 { padding-top: 3rem; padding-bottom: 3rem; }
.pt-2 { padding-top: 0.5rem; }
.pb-3 { padding-bottom: 0.75rem; }
.px-2\.5 { padding-left: 0.625rem; padding-right: 0.625rem; }
.py-0\.5 { padding-top: 0.125rem; padding-bottom: 0.125rem; }

/* Typography */
.text-xs { font-size: 0.75rem; line-height: 1rem; }
.text-sm { font-size: 0.875rem; line-height: 1.25rem; }
.text-base { font-size: 1rem; line-height: 1.5rem; }
.text-lg { font-size: 1.125rem; line-height: 1.75rem; }
.text-xl { font-size: 1.25rem; line-height: 1.75rem; }
.text-2xl { font-size: 1.5rem; line-height: 2rem; }
.text-3xl { font-size: 1.875rem; line-height: 2.25rem; }
.text-4xl { font-size: 2.25rem; line-height: 2.5rem; }

@media (min-width: 768px) {
  .md\:text-3xl { font-size: 1.875rem; line-height: 2.25rem; }
  .md\:text-4xl { font-size: 2.25rem; line-height: 2.5rem; }
  .md\:text-xl { font-size: 1.25rem; line-height: 1.75rem; }
}

@media (min-width: 1024px) {
  .lg\:text-5xl { font-size: 3rem; line-height: 1; }
}

.font-normal { font-weight: 400; }
.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }
.font-extrabold { font-weight: 800; }
.font-mono { font-family: ui-monospace, SFMono-Regular, "SF Mono", Consolas, "Liberation Mono", Menlo, monospace; }

.leading-tight { line-height: 1.25; }
.leading-relaxed { line-height: 1.625; }

.text-center { text-align: center; }
.text-right { text-align: right; }

/* Colors */
.text-white { color: rgb(255 255 255); }
.text-black { color: rgb(0 0 0); }
.text-gray-400 { color: rgb(156 163 175); }
.text-gray-500 { color: rgb(107 114 128); }
.text-gray-600 { color: rgb(75 85 99); }
.text-gray-700 { color: rgb(55 65 81); }
.text-gray-800 { color: rgb(31 41 55); }
.text-gray-900 { color: rgb(17 24 39); }

.text-blue-500 { color: var(--pastel-blue-500); }
.text-blue-600 { color: var(--pastel-blue-600); }
.text-blue-700 { color: var(--pastel-blue-700); }
.text-blue-800 { color: rgb(30 64 175); }

.text-green-500 { color: var(--pastel-green-500); }
.text-green-600 { color: var(--pastel-green-600); }
.text-green-700 { color: rgb(21 128 61); }

.text-pink-500 { color: var(--pastel-pink-500); }
.text-pink-600 { color: var(--pastel-pink-600); }

.text-purple-600 { color: rgb(147 51 234); }
.text-indigo-600 { color: rgb(79 70 229); }
.text-orange-600 { color: rgb(234 88 12); }
.text-red-600 { color: rgb(220 38 38); }
.text-red-700 { color: rgb(185 28 28); }
.text-cyan-600 { color: rgb(8 145 178); }
.text-cyan-700 { color: rgb(14 116 144); }
.text-teal-600 { color: rgb(13 148 136); }
.text-emerald-600 { color: rgb(5 150 105); }
.text-yellow-500 { color: rgb(234 179 8); }

/* Backgrounds */
.bg-white { background-color: rgb(255 255 255); }
.bg-gray-50 { background-color: rgb(249 250 251); }
.bg-gray-100 { background-color: rgb(243 244 246); }
.bg-gray-200 { background-color: rgb(229 231 235); }

.bg-blue-50 { background-color: rgb(239 246 255); }
.bg-blue-100 { background-color: var(--pastel-blue-100); }
.bg-blue-200 { background-color: var(--pastel-blue-200); }
.bg-blue-600 { background-color: var(--pastel-blue-600); }
.bg-blue-700 { background-color: var(--pastel-blue-700); }

.bg-green-100 { background-color: var(--pastel-green-100); }
.bg-green-200 { background-color: var(--pastel-green-200); }
.bg-green-500 { background-color: var(--pastel-green-500); }

.bg-pink-100 { background-color: var(--pastel-pink-100); }
.bg-pink-200 { background-color: var(--pastel-pink-200); }

.bg-purple-100 { background-color: rgb(243 232 255); }
.bg-purple-200 { background-color: rgb(233 213 255); }
.bg-indigo-50 { background-color: rgb(224 231 255); }
.bg-indigo-200 { background-color: rgb(199 210 254); }
.bg-orange-100 { background-color: rgb(255 237 213); }
.bg-orange-200 { background-color: rgb(254 215 170); }
.bg-red-50 { background-color: rgb(254 242 242); }
.bg-red-200 { background-color: rgb(254 202 202); }
.bg-red-500 { background-color: rgb(239 68 68); }
.bg-cyan-100 { background-color: rgb(207 250 254); }
.bg-cyan-200 { background-color: rgb(165 243 252); }
.bg-teal-100 { background-color: rgb(204 251 241); }
.bg-teal-200 { background-color: rgb(153 246 228); }
.bg-emerald-100 { background-color: rgb(209 250 229); }
.bg-emerald-200 { background-color: rgb(167 243 208); }

/* Borders */
.border { border-width: 1px; }
.border-b { border-bottom-width: 1px; }
.border-b-2 { border-bottom-width: 2px; }
.border-gray-100 { border-color: rgb(243 244 246); }
.border-gray-200 { border-color: rgb(229 231 235); }
.border-gray-300 { border-color: rgb(209 213 219); }
.border-blue-200 { border-color: rgb(191 219 254); }
.border-blue-500 { border-color: rgb(59 130 246); }
.border-green-400 { border-color: rgb(74 222 128); }
.border-red-200 { border-color: rgb(254 202 202); }
.border-red-400 { border-color: rgb(248 113 113); }
.border-transparent { border-color: transparent; }

/* Border Radius */
.rounded { border-radius: 0.25rem; }
.rounded-md { border-radius: 0.375rem; }
.rounded-lg { border-radius: 0.5rem; }
.rounded-xl { border-radius: 0.75rem; }
.rounded-full { border-radius: 9999px; }

/* Shadows */
.shadow-sm { box-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05); }
.shadow-md { box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1); }
.shadow-lg { box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1); }
.shadow-xl { box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1); }

/* Overflow */
.overflow-hidden { overflow: hidden; }

/* Transforms */
.transform { transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y)); }
.-translate-y-1\/2 { --tw-translate-y: -50%; transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y)); }
.-rotate-1 { transform: rotate(-1deg); }

/* Focus States */
.focus\:border-blue-500:focus { border-color: rgb(59 130 246); }
.focus\:ring-2:focus { --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color); --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color); box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000); }
.focus\:ring-blue-500:focus { --tw-ring-opacity: 1; --tw-ring-color: rgb(59 130 246 / var(--tw-ring-opacity)); }
.focus\:ring-offset-2:focus { --tw-ring-offset-width: 2px; }
.focus\:border-transparent:focus { border-color: transparent; }

/* Transitions */
.transition-all { transition-property: all; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); transition-duration: 150ms; }
.transition-colors { transition-property: color, background-color, border-color, text-decoration-color, fill, stroke; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); transition-duration: 150ms; }
.transition-transform { transition-property: transform; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); transition-duration: 150ms; }
.duration-200 { transition-duration: 200ms; }
.duration-300 { transition-duration: 300ms; }
.ease-out { transition-timing-function: cubic-bezier(0, 0, 0.2, 1); }

/* Hover States */
.hover\:shadow-xl:hover { box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1); }
.hover\:shadow-lg:hover { box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1); }
.hover\:-translate-y-1:hover { --tw-translate-y: -0.25rem; transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y)); }
.hover\:scale-105:hover { transform: scale(1.05); }

.hover\:bg-blue-700:hover { background-color: var(--pastel-blue-700); }
.hover\:bg-blue-200:hover { background-color: var(--pastel-blue-200); }
.hover\:bg-gray-200:hover { background-color: rgb(229 231 235); }
.hover\:bg-cyan-200:hover { background-color: rgb(165 243 252); }

.hover\:text-blue-600:hover { color: var(--pastel-blue-600); }
.hover\:text-blue-700:hover { color: var(--pastel-blue-700); }
.hover\:text-blue-800:hover { color: rgb(30 64 175); }
.hover\:text-gray-100:hover { color: rgb(243 244 246); }

/* Group Hover */
.group:hover .group-hover\:translate-x-1 { transform: translateX(0.125rem); }
.group:hover .group-hover\:scale-105 { transform: scale(1.02); }
.group:hover .group-hover\:-rotate-2 { transform: rotate(-0.5deg); }
.group:hover .group-hover\:opacity-100 { opacity: 1; }
.group:hover .group-hover\:visible { visibility: visible; }
.group:hover .group-hover\:bg-blue-200 { background-color: rgb(191 219 254); }
.group:hover .group-hover\:bg-green-200 { background-color: rgb(187 247 208); }
.group:hover .group-hover\:bg-purple-200 { background-color: rgb(233 213 255); }
.group:hover .group-hover\:bg-indigo-200 { background-color: rgb(199 210 254); }
.group:hover .group-hover\:bg-orange-200 { background-color: rgb(254 215 170); }
.group:hover .group-hover\:bg-red-200 { background-color: rgb(254 202 202); }
.group:hover .group-hover\:bg-cyan-200 { background-color: rgb(165 243 252); }
.group:hover .group-hover\:bg-teal-200 { background-color: rgb(153 246 228); }
.group:hover .group-hover\:bg-emerald-200 { background-color: rgb(167 243 208); }
.group:hover .group-hover\:text-blue-600 { color: var(--pastel-blue-600); }
.group:hover .group-hover\:text-green-600 { color: var(--pastel-green-600); }
.group:hover .group-hover\:text-purple-600 { color: rgb(147 51 234); }
.group:hover .group-hover\:text-indigo-600 { color: rgb(79 70 229); }
.group:hover .group-hover\:text-orange-600 { color: rgb(234 88 12); }
.group:hover .group-hover\:text-red-600 { color: rgb(220 38 38); }
.group:hover .group-hover\:text-cyan-600 { color: rgb(8 145 178); }
.group:hover .group-hover\:text-teal-600 { color: rgb(13 148 136); }
.group:hover .group-hover\:text-emerald-600 { color: rgb(5 150 105); }

/* Opacity & Visibility */
.opacity-0 { opacity: 0; }
.opacity-100 { opacity: 1; }
.invisible { visibility: hidden; }
.visible { visibility: visible; }

/* Z-Index */
.z-50 { z-index: 50; }
.z-\[9999\] { z-index: 9999; }

/* Flex Utilities */
.flex-1 { flex: 1 1 0%; }
.flex-shrink-0 { flex-shrink: 0; }
.flex-wrap { flex-wrap: wrap; }
.flex-col { flex-direction: column; }

/* Responsive Utilities */
@media (min-width: 640px) {
  .sm\:flex-row { flex-direction: row; }
  .sm\:px-4 { padding-left: 1rem; padding-right: 1rem; }
  .sm\:py-3 { padding-top: 0.75rem; padding-bottom: 0.75rem; }
  .sm\:px-8 { padding-left: 2rem; padding-right: 2rem; }
  .sm\:text-lg { font-size: 1.125rem; line-height: 1.75rem; }
  .sm\:inline { display: inline; }
  .sm\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (min-width: 768px) {
  .md\:flex { display: flex; }
  .md\:hidden { display: none; }
  .md\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .md\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .md\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (min-width: 1024px) {
  .lg\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lg\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .lg\:grid-cols-6 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
}

/* Custom Components */
.maxwidth {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

@media (min-width: 640px) {
  .maxwidth {
    padding: 0 1.5rem;
  }
}

/* Form Elements */
input[type="text"] {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 2px solid #e5e7eb;
  border-radius: 0.5rem;
  font-size: 1rem;
  transition: border-color 0.2s ease-in-out;
}

input[type="text"]:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

button[type="submit"] {
  background-color: #2563eb;
  color: white;
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 0.5rem;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s ease-in-out;
}

button[type="submit"]:hover {
  background-color: #1d4ed8;
}

/* Utility Spacing */
.space-y-4 > * + * { margin-top: 1rem; }
.space-y-6 > * + * { margin-top: 1.5rem; }
.right-3 { right: 0.75rem; }
.right-4 { right: 1rem; }
.bottom-0 { bottom: 0px; }
.left-0 { left: 0px; }

/* Accessibility */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Print Styles */
@media print {
  .print\:hidden {
    display: none !important;
  }
}

/* ==========================================================
   DOMAIN TABS STYLES - Simplified Clean Design
   ========================================================== */

/* Clean, minimal domain tabs design */
.scrollbar-hide {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.scrollbar-hide::-webkit-scrollbar {
  display: none;
}

/* Focus states */
a:focus {
  outline: 2px solid #3b82f6;
  outline-offset: 2px;
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
  }
}

/* Mobile optimizations */
@media (max-width: 768px) {
  .space-x-1 {
    gap: 0.25rem;
  }
  
  .py-1 {
    padding-top: 0.25rem;
    padding-bottom: 0.25rem;
  }
}

/* Ensure consistent spacing */
.space-y-4 > * + * {
  margin-top: 1rem;
}

/* ==========================================================
   POPULAR SUGGESTIONS STYLES
   ========================================================== */

.home-popular-suggestions {
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  gap: 0.5rem;
  justify-content: flex-start;
  align-items: center;
  padding: 1rem 0;
}

.home-popular-suggestions.single-line {
  flex-wrap: nowrap;
  overflow-x: auto;
}

.home-popular-suggestions a {
  display: inline-block;
  padding: 0.5rem 0.75rem;
  font-size: 0.75rem;
  border-radius: 0.25rem;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.home-popular-suggestions a:hover {
  transform: scale(1.05);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

/* Mobile responsiveness for popular suggestions */
@media (max-width: 768px) {
  .home-popular-suggestions {
    justify-content: flex-start;
    padding: 0.5rem 0;
  }
  
  .home-popular-suggestions a {
    padding: 0.375rem 0.625rem;
    font-size: 0.6875rem;
  }
}

/* ==========================================================
   ENHANCED DROPDOWN STYLES - Wider and Less Slim
   ========================================================== */

/* Dropdown container and menu styling */
.dropdown-container {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  z-index: 9999 !important;
  pointer-events: auto;
  top: 100%;
  left: 0;
  margin-top: 0.5rem;
  min-width: 20rem; /* Increased from 14rem to 20rem */
  width: auto;
  max-width: 24rem; /* Set maximum width for very long content */
}

/* Enhanced dropdown appearance */
.dropdown-menu {
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 0.75rem; /* Slightly more rounded */
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  padding: 0.75rem 0; /* Increased padding for less slim appearance */
}

/* Dropdown menu items */
.dropdown-menu .py-2 {
  padding: 0.75rem 0; /* Increased from py-2 to py-3 equivalent */
}

.dropdown-menu a {
  padding: 0.75rem 1.5rem; /* Increased padding for better touch targets */
  margin: 0.125rem 0.75rem; /* Add margin around items */
  border-radius: 0.5rem; /* Rounded corners for individual items */
  transition: all 0.2s ease-in-out;
}

/* Hover effects for dropdown items */
.dropdown-menu a:hover {
  background-color: #f8fafc;
  transform: translateX(0.25rem);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Force dropdown visibility on hover */
.dropdown-container:hover .dropdown-menu,
.group:hover .dropdown-menu {
  opacity: 1 !important;
  visibility: visible !important;
  transform: scale(1) !important;
  display: block !important;
}

/* Desktop dropdown visibility */
@media (min-width: 768px) {
  .dropdown-container:hover .dropdown-menu,
  .group:hover .dropdown-menu {
    opacity: 1 !important;
    visibility: visible !important;
    transform: scale(1) !important;
    display: block !important;
    pointer-events: auto !important;
  }
  
  .dropdown-menu {
    transition: all 0.2s ease-in-out !important;
  }
}

/* Ensure dropdowns appear above all content */
nav .dropdown-menu {
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 0.75rem;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  min-width: 20rem;
  position: absolute;
  top: 100%;
  left: 0;
  margin-top: 0.5rem;
  z-index: 9999;
}

/* Additional width utilities for dropdowns */
.w-80 { width: 20rem; } /* 320px - wider dropdowns */
.w-96 { width: 24rem; } /* 384px - extra wide if needed */
