/* Tailwind CSS compiled and optimized for Seruva Medical Production */

/* CSS Reset & Variables */
:root {
  --primary-blue: #3B82F6;
  --secondary-blue: #1D4ED8;
  --medical-blue: #009FE3;
  --medical-dark: #0066A3;
}

*, ::before, ::after { box-sizing: border-box; border: 0 solid #e5e7eb; }
::before, ::after { --tw-content: ''; }
html { line-height: 1.5; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; font-family: ui-sans-serif, system-ui, sans-serif; }
body { margin: 0; line-height: inherit; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }

/* Core Utilities */
.hidden { display: none; } .block { display: block; } .inline-block { display: inline-block; }
.flex { display: flex; } .inline-flex { display: inline-flex; } .grid { display: grid; }
.fixed { position: fixed; } .absolute { position: absolute; } .relative { position: relative; }
.inset-0 { inset: 0; } .top-0 { top: 0; } .right-0 { right: 0; } .bottom-0 { bottom: 0; } .left-0 { left: 0; }
.top-4 { top: 1rem; } .right-4 { right: 1rem; } .bottom-4 { bottom: 1rem; } .left-4 { left: 1rem; }
.top-8 { top: 2rem; } .right-8 { right: 2rem; } .bottom-8 { bottom: 2rem; } .left-8 { left: 2rem; }
.top-16 { top: 4rem; } .top-20 { top: 5rem; } .bottom-20 { bottom: 5rem; }
.left-10 { left: 2.5rem; } .right-10 { right: 2.5rem; } .left-20 { left: 5rem; } .right-20 { right: 5rem; }

.z-10 { z-index: 10; } .z-20 { z-index: 20; } .z-30 { z-index: 30; } .z-40 { z-index: 40; } .z-50 { z-index: 50; }

/* Size utilities */
.w-3 { width: 0.75rem; } .w-4 { width: 1rem; } .w-5 { width: 1.25rem; } .w-6 { width: 1.5rem; }
.w-8 { width: 2rem; } .w-10 { width: 2.5rem; } .w-12 { width: 3rem; } .w-14 { width: 3.5rem; }
.w-16 { width: 4rem; } .w-20 { width: 5rem; } .w-24 { width: 6rem; } .w-32 { width: 8rem; }
.w-64 { width: 16rem; } .w-96 { width: 24rem; } .w-auto { width: auto; } .w-full { width: 100%; }

.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-12 { height: 3rem; } .h-14 { height: 3.5rem; }
.h-16 { height: 4rem; } .h-20 { height: 5rem; } .h-24 { height: 6rem; } .h-32 { height: 8rem; }
.h-80 { height: 20rem; } .h-auto { height: auto; } .h-full { height: 100%; }

.min-h-screen { min-height: 100vh; }
.max-w-7xl { max-width: 80rem; } .max-w-4xl { max-width: 56rem; } .max-w-3xl { max-width: 48rem; } .max-w-2xl { max-width: 42rem; }

/* Spacing */
.mx-auto { margin-left: auto; margin-right: auto; }
.mt-1 { margin-top: 0.25rem; } .mt-4 { margin-top: 1rem; } .mt-8 { margin-top: 2rem; }
.mr-2 { margin-right: 0.5rem; } .mr-4 { margin-right: 1rem; }
.mb-2 { margin-bottom: 0.5rem; } .mb-4 { margin-bottom: 1rem; } .mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; } .mb-16 { margin-bottom: 4rem; } .mb-20 { margin-bottom: 5rem; }
.ml-2 { margin-left: 0.5rem; }

.p-2 { padding: 0.5rem; } .p-3 { padding: 0.75rem; } .p-4 { padding: 1rem; } .p-6 { padding: 1.5rem; }
.p-8 { padding: 2rem; } .p-10 { padding: 2.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-12 { padding-top: 3rem; padding-bottom: 3rem; } .py-20 { padding-top: 5rem; padding-bottom: 5rem; }
.py-24 { padding-top: 6rem; padding-bottom: 6rem; } .pt-16 { padding-top: 4rem; }

/* Layout */
.space-x-3 > :not([hidden]) ~ :not([hidden]) { margin-left: 0.75rem; }
.space-x-4 > :not([hidden]) ~ :not([hidden]) { margin-left: 1rem; }
.space-x-6 > :not([hidden]) ~ :not([hidden]) { margin-left: 1.5rem; }
.space-x-8 > :not([hidden]) ~ :not([hidden]) { margin-left: 2rem; }
.space-y-2 > :not([hidden]) ~ :not([hidden]) { margin-top: 0.5rem; }
.space-y-4 > :not([hidden]) ~ :not([hidden]) { margin-top: 1rem; }
.space-y-6 > :not([hidden]) ~ :not([hidden]) { margin-top: 1.5rem; }
.space-y-8 > :not([hidden]) ~ :not([hidden]) { margin-top: 2rem; }

.gap-4 { gap: 1rem; } .gap-6 { gap: 1.5rem; } .gap-8 { gap: 2rem; } .gap-16 { gap: 4rem; }
.grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.flex-col { flex-direction: column; } .flex-shrink-0 { flex-shrink: 0; }
.items-center { align-items: center; } .items-start { align-items: flex-start; }
.justify-center { justify-content: center; } .justify-between { justify-content: space-between; }

.overflow-hidden { overflow: hidden; }

/* Borders & Rounds */
.rounded { border-radius: 0.25rem; } .rounded-lg { border-radius: 0.5rem; } .rounded-xl { border-radius: 0.75rem; }
.rounded-2xl { border-radius: 1rem; } .rounded-full { border-radius: 9999px; }

.border { border-width: 1px; } .border-2 { border-width: 2px; } .border-t { border-top-width: 1px; }
.border-gray-100 { border-color: #f3f4f6; } .border-gray-200 { border-color: #e5e7eb; }
.border-gray-300 { border-color: #d1d5db; } .border-gray-800 { border-color: #1f2937; }
.border-blue-200 { border-color: #bfdbfe; } .border-blue-500 { border-color: var(--primary-blue); }
.border-blue-600 { border-color: var(--secondary-blue); }

/* Backgrounds */
.bg-white { background-color: #fff; } .bg-gray-50 { background-color: #f9fafb; }
.bg-gray-100 { background-color: #f3f4f6; } .bg-gray-200 { background-color: #e5e7eb; }
.bg-gray-900 { background-color: #111827; } .bg-blue-50 { background-color: #eff6ff; }
.bg-blue-100 { background-color: #dbeafe; } .bg-blue-500 { background-color: var(--primary-blue); }
.bg-blue-600 { background-color: var(--secondary-blue); } .bg-green-50 { background-color: #f0fdf4; }

.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)); }
.bg-gradient-to-t { background-image: linear-gradient(to top, var(--tw-gradient-stops)); }
.from-gray-50 { --tw-gradient-from: #f9fafb; --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, transparent); }
.from-blue-500 { --tw-gradient-from: var(--primary-blue); --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, transparent); }
.to-white { --tw-gradient-to: #fff; } .to-blue-600 { --tw-gradient-to: var(--secondary-blue); }
.to-blue-700 { --tw-gradient-to: #1d4ed8; } .to-transparent { --tw-gradient-to: transparent; }

.bg-white\/80 { background-color: rgb(255 255 255 / 0.8); }
.bg-white\/90 { background-color: rgb(255 255 255 / 0.9); }
.bg-white\/95 { background-color: rgb(255 255 255 / 0.95); }

.object-cover { object-fit: cover; } .object-contain { object-fit: contain; }

/* Typography */
.text-left { text-align: left; } .text-center { text-align: center; }
.font-medium { font-weight: 500; } .font-semibold { font-weight: 600; } .font-bold { font-weight: 700; }
.text-xs { font-size: 0.75rem; } .text-sm { font-size: 0.875rem; } .text-lg { font-size: 1.125rem; }
.text-xl { font-size: 1.25rem; } .text-2xl { font-size: 1.5rem; } .text-4xl { font-size: 2.25rem; }
.leading-tight { line-height: 1.25; } .leading-relaxed { line-height: 1.625; }

.text-white { color: #fff; } .text-gray-300 { color: #d1d5db; } .text-gray-400 { color: #9ca3af; }
.text-gray-600 { color: #4b5563; } .text-gray-700 { color: #374151; } .text-gray-900 { color: #111827; }
.text-blue-600 { color: var(--secondary-blue); } .text-blue-700 { color: #1d4ed8; }
.text-green-500 { color: #10b981; } .text-yellow-400 { color: #fbbf24; }

.text-transparent { color: transparent; } .bg-clip-text { background-clip: text; }

/* Effects */
.opacity-0 { opacity: 0; } .opacity-5 { opacity: 0.05; } .opacity-50 { opacity: 0.5; }
.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); }
.shadow-2xl { box-shadow: 0 25px 50px -12px rgb(0 0 0 / 0.25); }
.backdrop-blur-sm { backdrop-filter: blur(4px); }

/* Transitions */
.transition-all { transition: all 0.15s cubic-bezier(0.4, 0, 0.2, 1); }
.transition-colors { transition: color, background-color, border-color 0.15s ease; }
.transition-transform { transition: transform 0.15s ease; }
.duration-200 { transition-duration: 200ms; } .duration-300 { transition-duration: 300ms; }

.transform { transform: translateX(var(--tw-translate-x, 0)) translateY(var(--tw-translate-y, 0)) scale(var(--tw-scale-x, 1), var(--tw-scale-y, 1)); }
.-translate-y-1 { --tw-translate-y: -0.25rem; } .scale-105 { --tw-scale-x: 1.05; --tw-scale-y: 1.05; }
.scale-110 { --tw-scale-x: 1.1; --tw-scale-y: 1.1; }

.invisible { visibility: hidden; } .resize-none { resize: none; }
.aspect-video { aspect-ratio: 16 / 9; } .grayscale { filter: grayscale(100%); }
.pointer-events-none { pointer-events: none; } .pointer-events-auto { pointer-events: auto; }

/* Animations */
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pulse { 50% { opacity: .5; } }
.animate-spin { animation: spin 1s linear infinite; }
.animate-pulse { animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite; }

/* Hover States */
.hover\:text-white:hover { color: #fff; } .hover\:text-blue-600:hover { color: var(--secondary-blue); }
.hover\:bg-blue-50:hover { background-color: #eff6ff; } .hover\:bg-blue-500:hover { background-color: var(--primary-blue); }
.hover\:bg-blue-600:hover { background-color: var(--secondary-blue); }
.hover\:border-blue-500:hover { border-color: var(--primary-blue); }
.hover\:from-blue-600:hover { --tw-gradient-from: var(--secondary-blue); }
.hover\:to-blue-700:hover { --tw-gradient-to: #1d4ed8; }
.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\:-translate-y-1:hover { --tw-translate-y: -0.25rem; }
.hover\:scale-105:hover { --tw-scale-x: 1.05; --tw-scale-y: 1.05; }
.hover\:grayscale-0:hover { filter: grayscale(0); } .hover\:underline:hover { text-decoration: underline; }

/* Group Hover */
.group:hover .group-hover\:text-blue-600 { color: var(--secondary-blue); }
.group:hover .group-hover\:scale-105 { --tw-scale-x: 1.05; --tw-scale-y: 1.05; }
.group:hover .group-hover\:opacity-100 { opacity: 1; }
.group:hover .group-hover\:grayscale-0 { filter: grayscale(0); }

/* Focus States */
.focus\:border-blue-500:focus { border-color: var(--primary-blue); }
.focus\:ring-2:focus { box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.5); }

/* Disabled States */
.disabled\:opacity-50:disabled { opacity: 0.5; }
.disabled\:transform-none:disabled { transform: none; }

/* Responsive Design */
@media (min-width: 640px) {
  .sm\:flex-row { flex-direction: row; } .sm\:px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
}
@media (min-width: 768px) {
  .md\:hidden { display: none; } .md\:flex { display: flex; }
  .md\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .md\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .md\:col-span-2 { grid-column: span 2 / span 2; }
}
@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)); }
  .lg\:text-left { text-align: left; } .lg\:text-4xl { font-size: 2.25rem; }
  .lg\:text-5xl { font-size: 3rem; } .lg\:text-6xl { font-size: 3.75rem; }
  .lg\:px-8 { padding-left: 2rem; padding-right: 2rem; } .lg\:justify-start { justify-content: flex-start; }
}

/* Custom Seruva Medical Styles */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #f1f5f9; }
::-webkit-scrollbar-thumb { background: linear-gradient(to bottom, var(--medical-blue), var(--medical-dark)); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: linear-gradient(to bottom, var(--medical-dark), #004d7a); }

::selection { background: rgba(0, 159, 227, 0.2); color: var(--medical-dark); }
:focus-visible { outline: 2px solid var(--medical-blue); outline-offset: 2px; }
button:focus-visible { outline: 2px solid var(--medical-blue); outline-offset: 2px; box-shadow: 0 0 0 4px rgba(0, 159, 227, 0.1); }

/* Form Styling */
input[type="text"], input[type="email"], input[type="tel"], textarea, select {
  background-color: #ffffff; border: 1px solid #e5e7eb; transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
input[type="text"]:focus, input[type="email"]:focus, input[type="tel"]:focus, textarea:focus, select:focus {
  border-color: var(--medical-blue); box-shadow: 0 0 0 3px rgba(0, 159, 227, 0.1); outline: none;
}

/* Seruva Medical Utilities */
.gradient-medical { background: linear-gradient(135deg, var(--medical-blue) 0%, var(--medical-dark) 100%); }
.text-gradient-medical {
  background: linear-gradient(135deg, var(--medical-blue) 0%, var(--medical-dark) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.shadow-medical { box-shadow: 0 10px 25px -5px rgba(0, 159, 227, 0.1), 0 4px 6px -2px rgba(0, 159, 227, 0.05); }

/* Animations */
@keyframes fadeIn { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
.fade-in { animation: fadeIn 0.6s ease-out forwards; }
.card-hover { transition: all 0.3s ease; }
.card-hover:hover { transform: translateY(-4px); box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1); }
.no-underline {
  text-decoration: none;
}