/* Reset y base */
* { box-sizing: border-box; margin: 0; padding: 0; }
html,body { height: 100%; }
body {
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.4;
  background: linear-gradient(to bottom, #f8fafc 0%, #f1f5f9 100%);
  color: #111827;
}

/* Dark mode base */
@media (prefers-color-scheme: dark) {
  body {
    background: linear-gradient(to bottom, #0f1724 0%, #030315 100%);
    color: #e6edf3;
  }
}

/* Layout */
.flex { display:flex; }
.flex-col { flex-direction: column; }
.flex-1 { flex: 1 1 auto; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.min-h-screen { min-height: 100vh; }

/* Header */
header.w-full { width: 100%; }
header .py-8 { padding-top: 2rem; padding-bottom: 2rem; }
@media(min-width: 768px){ header .md\:py-10 { padding-top: 2.5rem; padding-bottom: 2.5rem; } }

/* Utilities */
.w-full { width: 100%; }
.max-w-md { max-width: 28rem; } /* 448px */
.mx-auto { margin-left: auto; margin-right: auto; }
.text-center { text-align: center; }
.mb-8 { margin-bottom: 2rem; }
.mb-10 { margin-bottom: 2.5rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-2 { margin-top: 0.5rem; }
.p-3 { padding: 0.75rem; }
.p-4 { padding: 1rem; }
.p-2 { padding: 0.5rem; }
.rounded-full { border-radius: 9999px; }
.rounded-lg { border-radius: 0.5rem; }
.shadow-sm { box-shadow: 0 1px 2px rgba(0,0,0,0.05); }

/* Typography */
.text-3xl { font-size: 1.875rem; line-height: 2.25rem; }
@media(min-width:640px){ .sm\:text-4xl { font-size: 2.25rem; line-height: 2.5rem; } }
@media(min-width:768px){ .md\:text-5xl { font-size: 3rem; line-height: 1; } }
.font-bold { font-weight: 700; }
.font-medium { font-weight: 500; }
.text-lg { font-size: 1.125rem; }
.text-sm { font-size: 0.875rem; }

/* Button / Link primary */
.inline-flex { display: inline-flex; align-items: center; }
.h-12 { height: 3rem; }
.px-8 { padding-left: 2rem; padding-right: 2rem; }
.py-2 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.rounded-md { border-radius: 0.375rem; }
.bg-primary { background-color: #2563eb; } /* blue-600 */
.bg-primary:hover { background-color: #1e40af; }
.text-primary-foreground { color: #ffffff; }
.shadow { box-shadow: 0 6px 12px rgba(37,99,235,0.12); }
.transition-colors { transition: background-color 0.15s ease; }

/* Dark variant for button (when background is white) */
.dark\:bg-white { background: #ffffff; }
.dark\:text-dark { color: #0b1220; }

/* Status dot and colors */
.bg-gray-100 { background: #f3f4f6; }
.dark\:bg-gray-800 { background: #1f2937; }
.bg-green-100 { background: #dcfce7; }
.bg-yellow-100 { background: #fef9c3; }
.bg-red-100 { background: #fee2e2; }
.bg-green-500 { background: #10b981; }
.bg-yellow-500 { background: #f59e0b; }
.bg-red-500 { background: #ef4444; }

/* Text colors */
.text-gray-700 { color: #374151; }
.dark\:text-gray-300 { color: #d1d5db; }
.text-green-700 { color: #047857; }
.dark\:text-green-400 { color: #86efac; }
.text-yellow-700 { color: #92400e; }
.dark\:text-yellow-400 { color: #facc15; }
.text-red-700 { color: #b91c1c; }
.dark\:text-red-400 { color: #fb7185; }
.text-gray-500 { color: #6b7280; }
.dark\:text-gray-400 { color: #9ca3af; }

/* Small utilities */
.h-auto { height: auto; }
.w-

\[180px\]

 { width: 180px; } /* utility for exact width used in template */
.inline-block { display: inline-block; }
.h-3 { height: 0.75rem; }
.w-3 { width: 0.75rem; }
.h-2 { height: 0.5rem; }
.w-2 { width: 0.5rem; }
.gap-2 { gap: 0.5rem; }
.items-start { align-items: flex-start; }
.text-xs { font-size: 0.75rem; }

/* Spinner and pulse */
@keyframes pulse {
  0% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(0.98); }
  100% { opacity: 1; transform: scale(1); }
}
.animate-pulse { animation: pulse 1.5s ease-in-out infinite; }
.animate-spin { animation: spin 1s linear infinite; }
@keyframes spin { 100% { transform: rotate(360deg); } }

/* Card and list inside services box */
.bg-white { background: #ffffff; }
.text-gray-900 { color: #111827; }

/* Responsive padding for main */
main { padding-left: 1rem; padding-right: 1rem; }
@media(min-width: 768px){ main { padding-left: 2rem; padding-right: 2rem; } }

/* Auxiliary: hide element */
.hidden { display: none !important; }
