/* Full CSS Styles for Georgian version - Mushebi.ge
   Complete design system with utilities, components, animations, and responsive design
   Dark theme for better eye comfort */

/* ============================================
   DARK THEME CSS VARIABLES
   ============================================ */

:root {
  /* Dark theme colors */
  --bg-primary: #0f172a;
  --bg-secondary: #1e293b;
  --bg-tertiary: #334155;
  --bg-card: #1e293b;
  --bg-input: #334155;
  --bg-hover: #475569;
  
  /* Text colors */
  --text-primary: #f1f5f9;
  --text-secondary: #cbd5e1;
  --text-tertiary: #94a3b8;
  --text-muted: #64748b;
  
  /* Border colors */
  --border-primary: #334155;
  --border-secondary: #475569;
  --border-hover: #64748b;
  
  /* Accent colors */
  --accent-primary: #6366f1;
  --accent-secondary: #06b6d4;
  --accent-hover: #818cf8;
  
  /* Status colors */
  --success: #10b981;
  --warning: #f59e0b;
  --error: #ef4444;
  
  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.5);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.6);
}

/* Apply dark theme to body and html */
html,
body {
  background-color: var(--bg-primary);
  color: var(--text-primary);
}

/* Import critical styles (they define CSS variables) */
/* Note: Critical CSS should be loaded first in HTML */

/* ============================================
   UTILITY CLASSES
   ============================================ */

/* Display utilities */
.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; }

/* Flexbox utilities */
.flex-col { flex-direction: column; }
.flex-row { flex-direction: row; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.items-end { align-items: flex-end; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.justify-start { justify-content: flex-start; }
.justify-end { justify-content: flex-end; }
.gap-1 { gap: 0.25rem; }
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }
.gap-12 { gap: 3rem; }

/* Grid utilities */
.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)); }

/* Spacing utilities */
.p-1 { padding: 0.25rem; }
.p-2 { padding: 0.5rem; }
.p-3 { padding: 0.75rem; }
.p-4 { padding: 1rem; }
.p-5 { padding: 1.25rem; }
.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-5 { padding-left: 1.25rem; padding-right: 1.25rem; }
.px-8 { padding-left: 2rem; padding-right: 2rem; }
.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-10 { padding-top: 2.5rem; padding-bottom: 2.5rem; }
.py-16 { padding-top: 4rem; padding-bottom: 4rem; }
.pt-6 { padding-top: 1.5rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 0.75rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-12 { margin-bottom: 3rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-8 { margin-top: 2rem; }
.mt-16 { margin-top: 4rem; }
.mx-auto { margin-left: auto; margin-right: auto; }

/* Width & Height utilities */
.w-3 { width: 0.75rem; }
.w-5 { width: 1.25rem; }
.w-6 { width: 1.5rem; }
.w-8 { width: 2rem; }
.w-10 { width: 2.5rem; }
.w-12 { width: 3rem; }
.w-16 { width: 4rem; }
.h-3 { height: 0.75rem; }
.h-5 { height: 1.25rem; }
.h-6 { height: 1.5rem; }
.h-8 { height: 2rem; }
.h-10 { height: 2.5rem; }
.h-12 { height: 3rem; }
.h-16 { height: 4rem; }
.w-full { width: 100%; }
.max-w-2xl { max-width: 42rem; }

/* Typography utilities */
.font-sans { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif; }
.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }
.font-extrabold { font-weight: 800; }
.text-xs { font-size: 0.75rem; }
.text-sm { font-size: 0.875rem; }
.text-base { font-size: 1rem; }
.text-lg { font-size: 1.125rem; }
.text-xl { font-size: 1.25rem; }
.text-2xl { font-size: 1.5rem; }
.text-3xl { font-size: 1.875rem; }
.text-4xl { font-size: 2.25rem; }
.text-center { text-align: center; }
.text-white { color: #ffffff; }
.text-slate-300 { color: var(--text-tertiary); }
.text-slate-400 { color: var(--text-tertiary); }
.text-slate-500 { color: var(--text-muted); }
.text-slate-600 { color: var(--text-secondary); }
.text-slate-700 { color: var(--text-secondary); }
.text-slate-800 { color: var(--text-primary); }
.text-slate-900 { color: var(--text-primary); }
.text-indigo-100 { color: var(--text-secondary); }
.text-indigo-600 { color: var(--accent-primary); }
.text-indigo-700 { color: var(--accent-hover); }
.leading-tight { line-height: 1.25; }
.leading-relaxed { line-height: 1.625; }

/* Background utilities - Dark theme */
.bg-white { background-color: var(--bg-card); }
.bg-white\/10 { background-color: rgba(31, 41, 55, 0.1); }
.bg-white\/20 { background-color: rgba(31, 41, 55, 0.2); }
.bg-white\/90 { background-color: rgba(31, 41, 55, 0.9); }
.bg-white\/95 { background-color: rgba(31, 41, 55, 0.95); }
.bg-indigo-700 { background-color: var(--accent-primary); }
.bg-cyan-600 { background-color: var(--accent-secondary); }
.bg-emerald-400 { background-color: var(--success); }
.bg-slate-50 { background-color: var(--bg-secondary); }
.bg-slate-100 { background-color: var(--bg-tertiary); }
.bg-slate-200 { background-color: var(--border-primary); }
.bg-slate-700 { background-color: var(--text-secondary); }
.bg-slate-800 { background-color: var(--bg-tertiary); }
.bg-slate-900 { background-color: var(--bg-secondary); }
.bg-indigo-50 { background-color: rgba(99, 102, 241, 0.1); }
.bg-indigo-100 { background-color: rgba(99, 102, 241, 0.2); }
.bg-indigo-500 { background-color: var(--accent-primary); }
.bg-indigo-600 { background-color: var(--accent-primary); }
.bg-emerald-50 { background-color: #ecfdf5; }
.bg-emerald-100 { background-color: #d1fae5; }
.bg-emerald-500 { background-color: #10b981; }
.bg-purple-50 { background-color: #faf5ff; }
.bg-purple-100 { background-color: #f3e8ff; }
.bg-purple-500 { background-color: #a855f7; }
.bg-orange-50 { background-color: #fff7ed; }
.bg-orange-100 { background-color: #ffedd5; }
.bg-orange-500 { background-color: #f97316; }
.bg-green-500 { background-color: #22c55e; }
.bg-cyan-50 { background-color: #ecfeff; }
.bg-cyan-400 { background-color: #22d3ee; }
.bg-teal-50 { background-color: #f0fdfa; }
.bg-teal-500 { background-color: #14b8a6; }
.bg-pink-50 { background-color: #fdf2f8; }
.bg-pink-500 { background-color: #ec4899; }
.bg-red-50 { background-color: #fef2f2; }
.bg-red-500 { background-color: #ef4444; }
.bg-blue-500 { background-color: #3b82f6; }
.bg-yellow-500 { background-color: #eab308; }

/* Gradient utilities */
.bg-gradient-to-r { background-image: linear-gradient(to right, var(--tw-gradient-stops)); }
.bg-gradient-to-br { background-image: linear-gradient(to bottom right, var(--tw-gradient-stops)); }
.from-indigo-500 { --tw-gradient-from: #6366f1; --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(99, 102, 241, 0)); }
.from-indigo-600 { --tw-gradient-from: #4f46e5; --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(79, 70, 229, 0)); }
.from-slate-50 { --tw-gradient-from: #f8fafc; --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(248, 250, 252, 0)); }
.to-cyan-400 { --tw-gradient-to: #22d3ee; }
.to-cyan-500 { --tw-gradient-to: #06b6d4; }
.to-indigo-50 { --tw-gradient-to: #eef2ff; }
.to-cyan-50 { --tw-gradient-to: #ecfeff; }
.to-teal-50 { --tw-gradient-to: #f0fdfa; }
.to-pink-50 { --tw-gradient-to: #fdf2f8; }
.to-red-50 { --tw-gradient-to: #fef2f2; }

/* Border utilities */
.border { border-width: 1px; }
.border-2 { border-width: 2px; }
.border-slate-100 { border-color: #f1f5f9; }
.border-slate-200 { border-color: #e2e8f0; }
.border-slate-300 { border-color: #cbd5e1; }
.border-indigo-100 { border-color: #e0e7ff; }
.border-indigo-600 { border-color: #4f46e5; }
.border-emerald-100 { border-color: #d1fae5; }
.border-purple-100 { border-color: #f3e8ff; }
.border-orange-100 { border-color: #ffedd5; }
.border-white { border-color: #ffffff; }
.border-t { border-top-width: 1px; }
.border-white\/10 { border-color: rgba(255, 255, 255, 0.1); }

/* Border radius utilities */
.rounded { border-radius: 0.25rem; }
.rounded-lg { border-radius: 0.5rem; }
.rounded-xl { border-radius: 0.75rem; }
.rounded-2xl { border-radius: 1rem; }
.rounded-3xl { border-radius: 1.5rem; }
.rounded-full { border-radius: 9999px; }

/* Shadow utilities */
.shadow { box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06); }
.shadow-sm { box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05); }
.shadow-lg { box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05); }
.shadow-xl { box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04); }
.shadow-2xl { box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25); }

/* Backdrop blur */
.backdrop-blur {
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

/* Position utilities */
.relative { position: relative; }
.fixed { position: fixed; }
.sticky { position: sticky; }
.absolute { position: absolute; }
.top-0 { top: 0; }
.top-4 { top: 1rem; }
.bottom-6 { bottom: 1.5rem; }
.left-0 { left: 0; }
.left-4 { left: 1rem; }
.left-6 { left: 1.5rem; }
.right-6 { right: 1.5rem; }
.inset-y-0 { top: 0; bottom: 0; }
.z-40 { z-index: 40; }
.z-50 { z-index: 50; }

/* Transform utilities */
.transform { transform: translateZ(0); }
.scale-110 { transform: scale(1.1); }
.-translate-y-0\.5 { transform: translateY(-0.125rem); }
.-translate-y-2 { transform: translateY(-0.5rem); }

/* Transition utilities */
.transition { transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter; 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-all { transition-property: all; 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; }

/* Space utilities */
.space-y-2 > * + * { margin-top: 0.5rem; }
.space-y-4 > * + * { margin-top: 1rem; }
.space-y-6 > * + * { margin-top: 1.5rem; }

/* ============================================
   COMPONENTS
   ============================================ */

/* 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; }
}

/* Card modern */
.card-modern {
  background-color: var(--bg-card);
  border-radius: 1rem;
  border: 1px solid var(--border-primary);
  box-shadow: var(--shadow-sm);
  transition: all 200ms ease-in-out;
}

.card-modern:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
  border-color: var(--border-hover);
}

/* Button modern */
.btn-modern {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2rem;
  border-radius: 1rem;
  font-size: 1.125rem;
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 200ms ease-in-out;
}

/* Group hover */
.group:hover .group-hover\:scale-110 {
  transform: scale(1.1);
}

/* ============================================
   ANIMATIONS
   ============================================ */

@keyframes fade-in-up {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slide-in-right {
  from {
    opacity: 0;
    transform: translateX(20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

.animate-fade-in-up {
  animation: fade-in-up 0.6s ease-out forwards;
  opacity: 0;
}

.animate-slide-in-right {
  animation: slide-in-right 0.6s ease-out forwards;
  opacity: 0;
}

.animate-float {
  animation: float 3s ease-in-out infinite;
}

.animate-pulse {
  animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* Delay utilities */
.delay-100 { animation-delay: 0.1s; }
.delay-200 { animation-delay: 0.2s; }
.delay-300 { animation-delay: 0.3s; }
.delay-400 { animation-delay: 0.4s; }

/* ============================================
   HOVER STATES
   ============================================ */

.hover\:bg-slate-50:hover { background-color: #f8fafc; }
.hover\:bg-slate-100:hover { background-color: #f1f5f9; }
.hover\:bg-white:hover { background-color: #ffffff; }
.hover\:bg-slate-700:hover { background-color: #334155; }
.hover\:text-white:hover { color: #ffffff; }
.hover\:text-indigo-600:hover { color: #4f46e5; }
.hover\:border-indigo-400:hover { border-color: #818cf8; }
.hover\:shadow-lg:hover { box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05); }
.hover\:shadow-xl:hover { box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04); }
.hover\:scale-110:hover { transform: scale(1.1); }
.hover\:-translate-y-0\.5:hover { transform: translateY(-0.125rem); }
.hover\:-translate-y-1:hover { transform: translateY(-0.25rem); }

/* Ring utilities */
.ring-2 {
  outline: 2px solid transparent;
  outline-offset: 2px;
}
.ring-indigo-600 {
  outline-color: #4f46e5;
}

/* ============================================
   FOCUS STATES
   ============================================ */

.focus\:not-sr-only:focus {
  position: static;
  width: auto;
  height: auto;
  padding: 0.5rem 1rem;
  margin: 0;
  overflow: visible;
  clip: auto;
  white-space: normal;
}

.focus\:absolute:focus {
  position: absolute;
}

.focus\:top-4:focus {
  top: 1rem;
}

.focus\:left-4:focus {
  left: 1rem;
}

.focus-visible\:not-sr-only:focus-visible {
  position: static;
  width: auto;
  height: auto;
  padding: 0.5rem 1rem;
  margin: 0;
  overflow: visible;
  clip: auto;
  white-space: normal;
}

.focus-visible\:absolute:focus-visible {
  position: absolute;
}

.focus-visible\:top-4:focus-visible {
  top: 1rem;
}

.focus-visible\:left-4:focus-visible {
  left: 1rem;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

/* Mobile menu */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 16rem;
  height: 100vh;
  background-color: white;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  z-index: 50;
  transform: translateX(-100%);
  transition: transform 300ms ease-in-out;
  overflow-y: auto;
}

.mobile-menu.open,
.mobile-menu.active {
  transform: translateX(0);
}

.mobile-menu-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 40;
  opacity: 0;
  pointer-events: none;
  transition: opacity 300ms ease-in-out;
}

.mobile-menu-overlay.active {
  opacity: 1;
  pointer-events: all;
}

/* Back to top button */
.back-to-top {
  opacity: 0;
  pointer-events: none;
  transition: opacity 200ms ease-in-out;
}

.back-to-top.visible {
  opacity: 1;
  pointer-events: all;
}

/* Form inputs */
input[type="tel"],
input[type="text"],
input[type="email"],
textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #cbd5e1;
  border-radius: 0.75rem;
  font-size: 1rem;
  transition: border-color 200ms ease-in-out;
}

input[type="tel"]:focus,
input[type="text"]:focus,
input[type="email"]:focus,
textarea:focus {
  outline: none;
  border-color: #4f46e5;
  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

/* ============================================
   TENDER PLATFORM COMPONENTS (Yandex.Uslugi style)
   ============================================ */

/* Tender Card (карточка заказа) */
.tender-card {
  background: var(--bg-card);
  border: 1px solid var(--border-primary);
  border-radius: 0.5rem;
  padding: 1.5rem;
  transition: box-shadow 200ms ease-in-out;
}

.tender-card:hover {
  box-shadow: var(--shadow-lg);
  border-color: var(--border-hover);
}

/* Category Badge */
.category-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 500;
  background: #eef2ff;
  color: #4f46e5;
}

/* Status Badge */
.status-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 500;
}

.status-open {
  background: #ecfdf5;
  color: #059669;
}

.status-reviewing {
  background: #fef3c7;
  color: #d97706;
}

.status-accepted {
  background: #dbeafe;
  color: #2563eb;
}

.status-closed {
  background: #f3f4f6;
  color: #6b7280;
}

.status-cancelled {
  background: #fee2e2;
  color: #dc2626;
}

/* Button Primary (Yandex.Uslugi style) */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  background: var(--accent-primary);
  color: white;
  border-radius: 0.5rem;
  font-weight: 500;
  transition: background-color 200ms ease-in-out;
  border: none;
  cursor: pointer;
}

.btn-primary:hover {
  background: var(--accent-hover);
}

.btn-primary:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.3);
}

/* Button Secondary */
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  background: white;
  color: #4f46e5;
  border: 1px solid #4f46e5;
  border-radius: 0.5rem;
  font-weight: 500;
  transition: background-color 200ms ease-in-out;
  cursor: pointer;
}

.btn-secondary:hover {
  background: #f8fafc;
}

.btn-secondary:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.3);
}

/* Form Input (Yandex.Uslugi style) */
.form-input {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border-primary);
  border-radius: 0.5rem;
  font-size: 1rem;
  background: var(--bg-input);
  color: var(--text-primary);
  transition: border-color 200ms ease-in-out, box-shadow 200ms ease-in-out;
}

.form-input:focus {
  outline: none;
  border-color: var(--accent-primary);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.3);
}

.form-input::placeholder {
  color: var(--text-muted);
}

/* Form Select */
.form-select {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid #cbd5e1;
  border-radius: 0.5rem;
  font-size: 1rem;
  background: white;
  transition: border-color 200ms ease-in-out, box-shadow 200ms ease-in-out;
  cursor: pointer;
}

.form-select:focus {
  outline: none;
  border-color: #4f46e5;
  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

/* Form Textarea */
.form-textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid #cbd5e1;
  border-radius: 0.5rem;
  font-size: 1rem;
  font-family: inherit;
  resize: vertical;
  transition: border-color 200ms ease-in-out, box-shadow 200ms ease-in-out;
}

.form-textarea:focus {
  outline: none;
  border-color: #4f46e5;
  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

.form-textarea::placeholder {
  color: #94a3b8;
}

/* Form Label */
.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: #334155;
  margin-bottom: 0.5rem;
}

/* Form Group */
.form-group {
  margin-bottom: 1.5rem;
}

/* Filter Card */
.filter-card {
  background: white;
  border: 1px solid #e2e8f0;
  border-radius: 0.5rem;
  padding: 1rem;
  margin-bottom: 1.5rem;
}

/* Statistics Card */
.stats-card {
  background: var(--bg-card);
  border: 1px solid var(--border-primary);
  border-radius: 0.5rem;
  padding: 1.5rem;
  text-align: center;
}

.stats-number {
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent-primary);
  margin-bottom: 0.5rem;
}

.stats-label {
  font-size: 0.875rem;
  color: var(--text-secondary);
}

/* How it works card */
.how-it-works-card {
  text-align: center;
  padding: 1.5rem;
}

.how-it-works-number {
  width: 3rem;
  height: 3rem;
  background: #eef2ff;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  font-weight: 700;
  font-size: 1.25rem;
  color: #4f46e5;
}

/* Container max-width */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Responsive grid for tenders */
.tenders-grid {
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: 1rem;
}

@media (min-width: 640px) {
  .tenders-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .tenders-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* Pagination */
.pagination {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 2rem;
}

.pagination button,
.pagination a {
  padding: 0.5rem 1rem;
  border: 1px solid #cbd5e1;
  border-radius: 0.5rem;
  background: white;
  color: #475569;
  font-weight: 500;
  transition: background-color 200ms ease-in-out, border-color 200ms ease-in-out;
  cursor: pointer;
  text-decoration: none;
}

.pagination button:hover,
.pagination a:hover {
  background: #f8fafc;
  border-color: #94a3b8;
}

.pagination button.active,
.pagination a.active {
  background: #4f46e5;
  color: white;
  border-color: #4f46e5;
}

/* Empty state */
.empty-state {
  text-align: center;
  padding: 3rem 1rem;
  color: #64748b;
}

.empty-state-icon {
  font-size: 4rem;
  margin-bottom: 1rem;
  opacity: 0.5;
}

.empty-state-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: #334155;
  margin-bottom: 0.5rem;
}

.empty-state-description {
  font-size: 0.875rem;
  color: #64748b;
}

/* Responsive utilities */
@media (min-width: 640px) {
  .sm\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sm\:flex-row { flex-direction: row; }
}

@media (min-width: 768px) {
  .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\:text-4xl { font-size: 2.25rem; }
}

@media (min-width: 1024px) {
  .lg\:hidden { display: none; }
  .lg\:flex { display: flex; }
  .lg\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lg\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .lg\:text-4xl { font-size: 2.25rem; }
  .lg\:text-6xl { font-size: 3.75rem; }
  .lg\:py-24 { padding-top: 6rem; padding-bottom: 6rem; }
}

/* Print styles */
@media print {
  .no-print {
    display: none !important;
  }
}

/* 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-width: 0;
}

.sr-only:focus {
  position: static;
  width: auto;
  height: auto;
  padding: 0.5rem 1rem;
  margin: 0;
  overflow: visible;
  clip: auto;
  white-space: normal;
}

/* Focus visible */
*:focus-visible {
  outline: 2px solid #4f46e5;
  outline-offset: 2px;
}

/* Skip link */
.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: #4f46e5;
  color: white;
  padding: 8px;
  text-decoration: none;
  z-index: 100;
}

.skip-link:focus {
  top: 0;
}

