/* ============================================
   CONFIRMACION.CSS - Estilos nativos optimizados
   Sistema de diseño minimalista sin dependencias
   VERSION: 3.0 - Depurado y limpio
   ============================================ */

/* BLOQUEO DE FUENTES EXTERNAS */
#x-confirmacion,
#x-confirmacion * {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";
}
@font-face {
  font-family: 'Roboto';
  src: none;
}

/* LAYOUT */
.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; } }

.mx-auto { margin-left: auto; margin-right: auto; }
.max-w-screen-xl { max-width: 1280px; }
.max-w-6xl { max-width: 72rem; }
.max-w-\[220px\] { max-width: 220px; }
.max-w-\[180px\] { max-width: 180px; }
.max-w-\[200px\] { max-width: 200px; }

/* DISPLAY & FLEXBOX */
.flex { display: flex; }
.inline-flex { display: inline-flex; }
.grid { display: grid; }
.hidden { display: none; }
.block { display: block; }
.inline-block { display: inline-block; }
.inline { display: inline; }

.flex-col { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.items-start { align-items: flex-start; }
.items-center { align-items: center; }
.items-end { align-items: flex-end; }
.items-stretch { align-items: stretch; }
.justify-start { justify-content: flex-start; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.justify-end { justify-content: flex-end; }
.self-center { align-self: center; }

.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-12 { grid-template-columns: repeat(12, minmax(0, 1fr)); }

.flex-1 { flex: 1 1 0%; }
.min-w-\[280px\] { min-width: 280px; }
.shrink-0 { flex-shrink: 0; }

/* SPACING */
.gap-0\.5 { gap: 0.125rem; }
.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-x-4 { column-gap: 1rem; }
.gap-y-1 { row-gap: 0.25rem; }

.space-y-1 > * + * { margin-top: 0.25rem; }
.space-y-2 > * + * { margin-top: 0.5rem; }
.space-y-3 > * + * { margin-top: 0.75rem; }
.space-y-4 > * + * { margin-top: 1rem; }
.space-y-6 > * + * { margin-top: 1.5rem; }
.space-y-8 > * + * { margin-top: 2rem; }
.space-x-1 > * + * { margin-left: 0.25rem; }

.divide-y > * + * { border-top-width: 1px; }
.divide-gray-100 > * + * { border-top-color: #f3f4f6; }

/* PADDING */
.p-2 { padding: 0.5rem; }
.p-3 { padding: 0.75rem; }
.p-4 { padding: 1rem; }
.p-5 { padding: 1.25rem; }
.p-6 { padding: 1.5rem; }
.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; }
.py-0\.5 { padding-top: 0.125rem; padding-bottom: 0.125rem; }
.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-6 { padding-top: 1.5rem; padding-bottom: 1.5rem; }
.py-8 { padding-top: 2rem; padding-bottom: 2rem; }
.pt-3 { padding-top: 0.75rem; }
.pt-4 { padding-top: 1rem; }
.pb-5 { padding-bottom: 1.25rem; }
.pb-6 { padding-bottom: 1.5rem; }

/* MARGIN */
.m-0 { margin: 0; }
.mt-0\.5 { margin-top: 0.125rem; }
.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 0.75rem; }
.mt-4 { margin-top: 1rem; }
.mt-5 { margin-top: 1.25rem; }
.mt-6 { margin-top: 1.5rem; }
.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; }
.mr-1 { margin-right: 0.25rem; }
.mr-2 { margin-right: 0.5rem; }
.ms-3 { margin-left: 0.75rem; }
.ms-6 { margin-left: 1.5rem; }
.-top-2 { top: -0.5rem; }
.-right-2 { right: -0.5rem; }
.-start-3 { left: -0.75rem; }

/* WIDTH & HEIGHT */
.w-3\.5 { width: 0.875rem; }
.w-4 { width: 1rem; }
.w-5 { width: 1.25rem; }
.w-6 { width: 1.5rem; }
.w-7 { width: 1.75rem; }
.w-8 { width: 2rem; }
.w-14 { width: 3.5rem; }
.w-72 { width: 18rem; }
.w-full { width: 100%; }
.h-3\.5 { height: 0.875rem; }
.h-4 { height: 1rem; }
.h-5 { height: 1.25rem; }
.h-6 { height: 1.5rem; }
.h-7 { height: 1.75rem; }
.h-8 { height: 2rem; }
.h-14 { height: 3.5rem; }
.h-full { height: 100%; }
.min-w-0 { min-width: 0; }
.min-w-full { min-width: 100%; }
.max-h-40 { max-height: 10rem; }
.shrink-0 { flex-shrink: 0; }
.flex-1 { flex: 1 1 0%; }

/* TYPOGRAPHY */
.text-\[10px\] { font-size: 10px; line-height: 1.25; }
.text-\[11px\] { font-size: 11px; line-height: 1.3; }
.text-\[12px\] { font-size: 12px; line-height: 1.35; }
.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; }

.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, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace; }

.text-left { text-align: left; }
.text-center { text-align: center; }
.text-right { text-align: right; }

.italic { font-style: italic; }
.uppercase { text-transform: uppercase; }
.tracking-tight { letter-spacing: -0.025em; }
.tracking-wide { letter-spacing: 0.025em; }
.leading-relaxed { line-height: 1.625; }
.leading-snug { line-height: 1.375; }

.break-all { word-break: break-all; }
.truncate { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.line-clamp-3 { 
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  overflow: hidden;
  text-overflow: ellipsis;
  word-break: break-word;
  line-height: 1.4;
  max-height: 4.2em; /* 3 lines * 1.4 line-height */
}
.antialiased { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }

/* COLORS */
/* Text colors */
.text-white { color: #ffffff; }
.text-gray-400 { color: #9ca3af; }
.text-gray-500 { color: #6b7280; }
.text-gray-600 { color: #4b5563; }
.text-gray-700 { color: #374151; }
.text-gray-800 { color: #1f2937; }
.text-slate-300 { color: #cbd5e1; }
.text-slate-400 { color: #94a3b8; }
.text-slate-500 { color: #64748b; }
.text-slate-600 { color: #475569; }
.text-slate-700 { color: #334155; }
.text-slate-800 { color: #1e293b; }
.text-blue-600 { color: #2563eb; }
.text-blue-700 { color: #1d4ed8; }
.text-blue-800 { color: #1e40af; }
.text-sky-300 { color: #7dd3fc; }
.text-sky-400 { color: #38bdf8; }
.text-sky-600 { color: #0284c7; }
.text-sky-700 { color: #0369a1; }
.text-green-600 { color: #16a34a; }
.text-green-700 { color: #15803d; }
.text-green-800 { color: #166534; }
.text-yellow-600 { color: #ca8a04; }
.text-yellow-700 { color: #a16207; }
.text-yellow-800 { color: #854d0e; }
.text-amber-700 { color: #b45309; }
.text-red-600 { color: #dc2626; }
.text-red-700 { color: #b91c1c; }
.text-red-800 { color: #991b1b; }
.text-rose-700 { color: #be123c; }
.text-orange-600 { color: #ea580c; }
.text-fuchsia-600 { color: #c026d3; }
.text-indigo-700 { color: #4338ca; }

/* Background colors */
.bg-white { background-color: #ffffff; }
.bg-gray-50 { background-color: #f9fafb; }
.bg-gray-100 { background-color: #f3f4f6; }
.bg-gray-200 { background-color: #e5e7eb; }
.bg-slate-50 { background-color: #f8fafc; }
.bg-slate-100 { background-color: #f1f5f9; }
.bg-slate-200 { background-color: #e2e8f0; }
.bg-slate-300 { background-color: #cbd5e1; }
.bg-blue-50 { background-color: #eff6ff; }
.bg-blue-100 { background-color: #dbeafe; }
.bg-blue-600 { background-color: #2563eb; }
.bg-blue-700 { background-color: #1d4ed8; }
.bg-sky-100 { background-color: #e0f2fe; }
.bg-sky-300 { background-color: #7dd3fc; }
.bg-sky-400 { background-color: #38bdf8; }
.bg-sky-600 { background-color: #0284c7; }
.bg-green-50 { background-color: #f0fdf4; }
.bg-green-100 { background-color: #dcfce7; }
.bg-green-200 { background-color: #bbf7d0; }
.bg-green-600 { background-color: #16a34a; }
.bg-green-700 { background-color: #15803d; }
.bg-yellow-50 { background-color: #fefce8; }
.bg-yellow-100 { background-color: #fef9c3; }
.bg-yellow-200 { background-color: #fef08a; }
.bg-amber-100 { background-color: #fef3c7; }
.bg-red-50 { background-color: #fef2f2; }
.bg-red-100 { background-color: #fee2e2; }
.bg-red-200 { background-color: #fecaca; }
.bg-rose-100 { background-color: #ffe4e6; }
.bg-indigo-100 { background-color: #e0e7ff; }

/* BORDERS */
.border { border-width: 1px; }
.border-0 { border-width: 0; }
.border-t { border-top-width: 1px; }
.border-b { border-bottom-width: 1px; }
.border-s { border-left-width: 1px; }
.border-gray-100 { border-color: #f3f4f6; }
.border-gray-200 { border-color: #e5e7eb; }
.border-gray-300 { border-color: #d1d5db; }
.border-slate-200 { border-color: #e2e8f0; }
.border-slate-300 { border-color: #cbd5e1; }
.border-blue-200 { border-color: #bfdbfe; }
.border-blue-300 { border-color: #93c5fd; }
.border-sky-300 { border-color: #7dd3fc; }
.border-sky-400 { border-color: #38bdf8; }
.border-green-200 { border-color: #bbf7d0; }
.border-green-300 { border-color: #86efac; }
.border-green-700 { border-color: #15803d; }
.border-yellow-200 { border-color: #fef08a; }
.border-yellow-300 { border-color: #fde047; }
.border-red-200 { border-color: #fecaca; }
.border-red-300 { border-color: #fca5a5; }
.border-red-400 { border-color: #f87171; }
.border-dashed { border-style: dashed; }

/* ROUNDED */
.rounded { border-radius: 0.25rem; }
.rounded-md { border-radius: 0.375rem; }
.rounded-lg { border-radius: 0.5rem; }
.rounded-xl { border-radius: 0.75rem; }
.rounded-2xl { border-radius: 1rem; }
.rounded-full { border-radius: 9999px; }

/* SHADOW & EFFECTS */
.shadow { box-shadow: 0 1px 3px 0 rgba(0,0,0,0.1), 0 1px 2px -1px rgba(0,0,0,0.1); }
.shadow-sm { box-shadow: 0 1px 2px 0 rgba(0,0,0,0.05); }
.shadow-2xl { box-shadow: 0 25px 50px -12px rgba(0,0,0,0.25); }

.ring { box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.1); }
.ring-1 { box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.05); }
.ring-sky-200 { box-shadow: 0 0 0 1px #bae6fd; }
.ring-sky-300 { box-shadow: 0 0 0 3px rgba(125, 211, 252, 0.5); }
.ring-green-200 { box-shadow: 0 0 0 1px #bbf7d0; }
.ring-green-300 { box-shadow: 0 0 0 3px rgba(134, 239, 172, 0.5); }
.ring-amber-200 { box-shadow: 0 0 0 1px #fcd34d; }
.ring-rose-200 { box-shadow: 0 0 0 1px #fecdd3; }
.ring-indigo-200 { box-shadow: 0 0 0 1px #c7d2fe; }

/* POSITION & Z-INDEX */
.relative { position: relative; }
.absolute { position: absolute; }
.fixed { position: fixed; }
.inset-0 { top: 0; right: 0; bottom: 0; left: 0; }
.z-\[1000\] { z-index: 1000; }

/* OVERFLOW */
.overflow-hidden { overflow: hidden; }
.overflow-auto { overflow: auto; }
.overflow-x-auto { overflow-x: auto; }

/* CURSOR & POINTER */
.cursor-not-allowed { cursor: not-allowed; }
.cursor-pointer { cursor: pointer; }

/* OPACITY & TRANSITION */
.opacity-40 { opacity: 0.4; }
.opacity-50 { opacity: 0.5; }
.opacity-60 { opacity: 0.6; }
.opacity-70 { opacity: 0.7; }
.opacity-95 { opacity: 0.95; }

.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; }

/* PSEUDO STATES */
/* Hover states */
.hover\:bg-gray-50:hover { background-color: #f9fafb; }
.hover\:bg-slate-50:hover { background-color: #f8fafc; }
.hover\:bg-slate-200:hover { background-color: #e2e8f0; }
.hover\:bg-blue-700:hover { background-color: #1d4ed8; }
.hover\:bg-sky-700:hover { background-color: #0369a1; }
.hover\:bg-green-700:hover { background-color: #15803d; }
.hover\:text-blue-700:hover { color: #1d4ed8; }
.hover\:text-red-600:hover { color: #dc2626; }
.hover\:underline:hover { text-decoration: underline; }
.hover\:border-red-400:hover { border-color: #f87171; }

/* Focus */
.focus\:outline-none:focus { outline: 2px solid transparent; outline-offset: 2px; }
.focus\:ring-1:focus { box-shadow: 0 0 0 1px var(--tw-ring-color); }
.focus\:ring-2:focus { box-shadow: 0 0 0 2px var(--tw-ring-color); }
.focus\:ring-4:focus { box-shadow: 0 0 0 4px var(--tw-ring-color); }
.focus\:ring-blue-300:focus { --tw-ring-color: rgba(147, 197, 253, 0.5); }
.focus\:ring-blue-500:focus { --tw-ring-color: rgba(59, 130, 246, 0.5); }
.focus\:ring-sky-300:focus { --tw-ring-color: rgba(125, 211, 252, 0.5); }
.focus\:ring-green-300:focus { --tw-ring-color: rgba(134, 239, 172, 0.5); }
.focus\:border-blue-500:focus { border-color: #3b82f6; }
.focus\:border-sky-400:focus { border-color: #38bdf8; }

/* Focus within */
.focus-within\:ring-2:focus-within { box-shadow: 0 0 0 2px var(--tw-ring-color); }
.focus-within\:ring-blue-500:focus-within { --tw-ring-color: rgba(59, 130, 246, 0.5); }

/* Nth-child */
.odd\:bg-white:nth-child(odd) { background-color: #ffffff; }
.even\:bg-gray-50:nth-child(even) { background-color: #f9fafb; }

/* RESPONSIVE BREAKPOINTS */
@media (min-width: 640px) {
  .sm\:flex-row { flex-direction: row; }
  .sm\:items-center { align-items: center; }
  .sm\:items-end { align-items: flex-end; }
  .sm\:justify-between { justify-content: space-between; }
  .sm\:justify-end { justify-content: flex-end; }
  .sm\:text-right { text-align: right; }
  .sm\:text-sm { font-size: 0.875rem; line-height: 1.25rem; }
  .sm\:text-base { font-size: 1rem; line-height: 1.5rem; }
  .sm\:col-span-2 { grid-column: span 2 / span 2; }
  .sm\:col-span-10 { grid-column: span 10 / span 10; }
  .sm\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sm\:w-auto { width: auto; }
  .sm\:w-72 { width: 18rem; }
  .sm\:px-4 { padding-left: 1rem; padding-right: 1rem; }
  .sm\:mt-0 { margin-top: 0; }
  .sm\:inline { display: inline; }
}

@media (min-width: 768px) {
  .md\:py-12 { padding-top: 3rem; padding-bottom: 3rem; }
  .md\:text-xs { font-size: 0.75rem; line-height: 1rem; }
  .md\:col-span-3 { grid-column: span 3 / span 3; }
  .md\:col-span-4 { grid-column: span 4 / span 4; }
  .md\:col-span-6 { grid-column: span 6 / span 6; }
  .md\:col-span-12 { grid-column: span 12 / span 12; }
  .md\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .md\:grid-cols-12 { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  .md\:block { display: block; }
  .md\:hidden { display: none; }
}

@media (min-width: 1024px) {
  .lg\:col-span-5 { grid-column: span 5 / span 5; }
  .lg\:col-span-7 { grid-column: span 7 / span 7; }
  .lg\:grid-cols-12 { grid-template-columns: repeat(12, minmax(0, 1fr)); }
}

@media (min-width: 1536px) {
  .\32xl\:px-0 { padding-left: 0; padding-right: 0; }
}

/* Header branding - ATV Rainbow Mountain */
#x-confirmacion .x-header-brand {
  background: #dc2626;
  border: none;
  box-shadow: 0 4px 6px -1px rgba(220, 38, 38, 0.3), 0 2px 4px -1px rgba(0, 0, 0, 0.1);
}
#x-confirmacion .x-brand-logo {
  width: auto;
  height: 48px;
  max-height: 48px;
  object-fit: contain;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
}
#x-confirmacion .x-brand-text {
  color: #ffffff;
  text-shadow: 0 1px 3px rgba(0,0,0,0.3);
}
#x-confirmacion .x-brand-name {
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.025em;
  color: #ffffff;
}
#x-confirmacion .x-brand-ruc {
  font-size: 0.75rem;
  opacity: 0.95;
  font-weight: 500;
  color: #ffffff;
}
#x-confirmacion .x-brand-info {
  color: #ffffff;
}
#x-confirmacion .x-brand-info i {
  color: #fde68a;
}
#x-confirmacion .x-brand-info .info-row {
  font-size: 0.75rem;
  opacity: 0.95;
  text-shadow: 0 1px 2px rgba(0,0,0,0.2);
  color: #ffffff;
}
@media (max-width: 640px) {
  #x-confirmacion .x-brand-logo { height: 40px; max-height: 40px; }
  #x-confirmacion .x-brand-name { font-size: 0.8125rem; }
  #x-confirmacion .x-brand-info .info-row { font-size: 0.6875rem; }
}

/* SECCIÓN VIAJEROS - Optimizada */
/* Card viajero individual */
#x-confirmacion .vx-viajero { 
  background: #ffffff;
  border: 1.5px solid #e5e7eb;
  border-radius: 0.75rem;
  padding: 1rem;
  position: relative;
  transition: all 0.2s ease;
}

#x-confirmacion .vx-viajero:hover {
  border-color: #cbd5e1;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

#x-confirmacion #viajeros .vx-viajero:focus-within { 
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

/* Inputs y selects dentro del card */
#x-confirmacion .vx-viajero input,
#x-confirmacion .vx-viajero select { 
  background: #ffffff;
  border: 1px solid #d1d5db;
  border-radius: 0.5rem;
  color: #1e293b;
  font-size: 0.875rem;
  transition: all 0.2s ease;
}

#x-confirmacion .vx-viajero input:focus,
#x-confirmacion .vx-viajero select:focus {
  border-color: #3b82f6;
  outline: none;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

#x-confirmacion .vx-viajero input:hover,
#x-confirmacion .vx-viajero select:hover {
  border-color: #9ca3af;
}

/* Inputs deshabilitados */
#x-confirmacion .vx-viajero input[disabled],
#x-confirmacion .vx-viajero select[disabled] { 
  background: #f9fafb;
  color: #6b7280;
  border-color: #e5e7eb;
  opacity: 1;
  cursor: not-allowed;
}

/* Labels */
#x-confirmacion .vx-viajero label {
  color: #374151;
  font-weight: 600;
  font-size: 0.75rem;
  margin-bottom: 0.25rem;
  display: block;
}

/* Botón eliminar viajero */
#x-confirmacion .vx-remove {
  position: absolute;
  top: -0.5rem;
  right: -0.5rem;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 9999px;
  background: #ffffff;
  border: 1.5px solid #e5e7eb;
  color: #6b7280;
  font-size: 0.875rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  z-index: 10;
}

#x-confirmacion .vx-remove:hover {
  background: #fee2e2;
  border-color: #fca5a5;
  color: #dc2626;
  transform: scale(1.1);
}

/* Índice del viajero */
#x-confirmacion .vx-index {
  font-weight: 700;
  color: #3b82f6;
}

/* Botones de acción */
#x-confirmacion #add_viajero {
  background: #ffffff;
  border: 1.5px solid #e5e7eb;
  color: #1e293b;
  padding: 0.625rem 1.25rem;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.2s ease;
  cursor: pointer;
}

#x-confirmacion #add_viajero:hover:not(:disabled) {
  background: #f8fafc;
  border-color: #3b82f6;
  color: #1d4ed8;
  transform: translateY(-1px);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

#x-confirmacion #add_viajero:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

#x-confirmacion #save_viajeros {
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
  border: none;
  color: #ffffff;
  padding: 0.625rem 1.5rem;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.2s ease;
  cursor: pointer;
}

#x-confirmacion #save_viajeros:hover:not(:disabled) {
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

#x-confirmacion #save_viajeros:disabled {
  background: #cbd5e1;
  cursor: not-allowed;
  opacity: 0.7;
}

/* Contador de viajeros */
#x-confirmacion #viajeros_count {
  color: #64748b;
  font-size: 0.8125rem;
  font-weight: 500;
  padding: 0.25rem 0.75rem;
  background: #f1f5f9;
  border-radius: 0.375rem;
}

/* Card de viajeros */
#x-confirmacion #viajeros_card {
  border: 1.5px solid #e5e7eb;
  border-radius: 1rem;
  overflow: hidden;
  background: #ffffff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

#x-confirmacion #viajeros_card .px-5 {
  border-bottom: 1px solid #f3f4f6;
}

/* Tabla de viajeros registrados */
#x-confirmacion #viajeros_card table {
  border: 1px solid #e5e7eb;
  border-radius: 0.5rem;
  overflow: hidden;
}

#x-confirmacion #viajeros_card table th {
  background: #f8fafc;
  color: #475569;
  font-weight: 600;
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.5rem;
  border-bottom: 1px solid #e5e7eb;
}

#x-confirmacion #viajeros_card table td {
  color: #1e293b;
  font-size: 0.75rem;
  padding: 0.5rem;
  border-top: 1px solid #f3f4f6;
}

#x-confirmacion #viajeros_card table tr:hover {
  background: #f8fafc;
}

/* Mensaje de éxito */
#x-confirmacion #viajeros_success_msg {
  background: #f0fdf4;
  border: 1.5px solid #86efac;
  border-radius: 0.5rem;
  padding: 0.75rem;
  color: #166534;
  font-size: 0.8125rem;
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

#x-confirmacion #viajeros_success_msg strong {
  color: #15803d;
}

/* Responsive */
@media (max-width: 768px) {
  #x-confirmacion .vx-viajero {
    padding: 0.875rem;
  }
  
  #x-confirmacion #add_viajero,
  #x-confirmacion #save_viajeros {
    width: 100%;
    justify-content: center;
  }
  
  #x-confirmacion #viajeros_count {
    width: 100%;
    text-align: center;
  }
}

/* Payment meta */
#x-confirmacion .x-pay-meta { background:#f1f5f9; border:1px solid #e2e8f0; border-radius:.5rem; padding:.6rem .75rem; }
#x-confirmacion .x-pay-meta div span:first-child { font-weight:600; color:#1e293b; }

/* PAGOS PARCIALES - Sistema unificado */
/* Card de estado */
#x-confirmacion .x-payment-status {
  transition: all 0.3s ease;
}
#x-confirmacion .x-payment-status:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Barra de progreso unificada */
#x-confirmacion .x-payment-progress {
  position: relative;
  width: 100%;
  height: 6px;
  border-radius: 9999px;
  background: linear-gradient(90deg, #e5e7eb 0%, #f3f4f6 100%);
  overflow: hidden;
}

#x-confirmacion .x-payment-progress-bar {
  position: relative;
  height: 100%;
  border-radius: 9999px;
  background: linear-gradient(90deg, #22c55e 0%, #16a34a 50%, #15803d 100%);
  transition: width 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Variante ámbar cuando hay saldo pendiente */
#x-confirmacion .x-payment-status[data-has-pending="1"] .x-payment-progress-bar {
  background: linear-gradient(90deg, #f59e0b 0%, #fbbf24 50%, #f97316 100%);
}

/* Botón completar pago */
#x-confirmacion .x-btn-pay-pending {
  display: flex !important;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  padding: 0.75rem 1rem;
  text-align: center;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.938rem;
  color: #ffffff !important;
  background: linear-gradient(90deg, #2563eb 0%, #1d4ed8 100%);
  border-radius: 0.5rem;
  box-shadow: 0 1px 3px rgba(15,23,42,0.18);
  transition: all 0.2s ease;
  border: none;
}

#x-confirmacion .x-btn-pay-pending:hover {
  background: linear-gradient(90deg, #1d4ed8 0%, #1e40af 100%);
  box-shadow: 0 4px 10px rgba(15,23,42,0.25);
  transform: translateY(-1px);
}

#x-confirmacion .x-btn-pay-pending .x-amount {
  color: #dbeafe !important;
  font-weight: 600;
}

#x-confirmacion .x-btn-pay-pending svg {
  flex-shrink: 0;
}

#x-confirmacion .x-payment-status a[href*="finalizar-compra"] {
  text-decoration: none;
  box-shadow: 0 1px 3px rgba(15,23,42,0.18);
  background: linear-gradient(90deg, #2563eb 0%, #1d4ed8 100%);
  color: #ffffff;
  border-radius: 0.5rem;
  transition: all 0.2s ease;
}

#x-confirmacion .x-payment-status a[href*="finalizar-compra"]:hover {
  box-shadow: 0 4px 10px rgba(15,23,42,0.25);
  background: linear-gradient(90deg, #1d4ed8 0%, #1e40af 100%);
}

@media (max-width: 640px) {
  #x-confirmacion .x-payment-status a[href*="finalizar-compra"] {
    width: 100%;
    justify-content: center;
  }
}

/* Historial de pagos items */
#x-confirmacion .x-payment-item {
  transition: background-color 0.2s ease;
}
#x-confirmacion .x-payment-item:hover {
  background-color: #f8fafc;
}

/* Cards de pagos parciales en Cardex */
#x-confirmacion .x-payment-item-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 0.5rem;
  padding: 0.75rem;
  transition: all 0.2s ease;
}

#x-confirmacion .x-payment-item-card:hover {
  border-color: #3b82f6;
  box-shadow: 0 1px 3px rgba(59,130,246,0.1);
}

#x-confirmacion .x-payment-number {
  font-family: 'Courier New', monospace;
  font-weight: 700;
  font-size: 0.75rem;
  color: #6b7280;
  background: #f3f4f6;
  padding: 0.125rem 0.5rem;
  border-radius: 0.25rem;
}

#x-confirmacion .x-payment-amount {
  font-weight: 700;
  font-size: 0.813rem;
  color: #111827;
}

#x-confirmacion .x-payment-percentage {
  font-size: 0.75rem;
  color: #9ca3af;
  font-weight: 500;
}

#x-confirmacion .x-payment-method {
  font-size: 0.75rem;
  color: #6b7280;
  text-transform: capitalize;
  font-weight: 500;
}

#x-confirmacion .x-transaction-id {
  font-family: 'Courier New', monospace;
  font-size: 0.688rem;
  background: #eff6ff;
  color: #1e40af;
  padding: 0.125rem 0.375rem;
  border-radius: 0.25rem;
  border: 1px solid #bfdbfe;
  font-weight: 600;
}

/* Estados de pago - Badges */
#x-confirmacion .x-payment-badge-confirmed {
  background: #dcfce7;
  color: #166534;
  padding: 0.25rem 0.5rem;
  border-radius: 0.25rem;
  font-size: 0.75rem;
  font-weight: 600;
}
#x-confirmacion .x-payment-badge-pending {
  background: #fef9c3;
  color: #854d0e;
  padding: 0.25rem 0.5rem;
  border-radius: 0.25rem;
  font-size: 0.75rem;
  font-weight: 600;
}
#x-confirmacion .x-payment-badge-rejected {
  background: #fee2e2;
  color: #991b1b;
  padding: 0.25rem 0.5rem;
  border-radius: 0.25rem;
  font-size: 0.75rem;
  font-weight: 600;
}

/* Responsive payments */
@media (max-width: 640px) {
  #x-confirmacion .x-payment-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
}

/* Badge ID reserva */
#x-confirmacion .x-rid-badge { 
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%); 
  color: #ffffff; 
  padding: 0.25rem 0.75rem; 
  border-radius: 9999px; 
  font-size: 0.75rem; 
  line-height: 1.5rem; 
  font-weight: 600;
  display: inline-block; 
  box-shadow: 0 1px 3px rgba(37,99,235,0.2);
  border: none !important;
  outline: none !important;
  transition: all 0.2s ease;
}
#x-confirmacion .x-rid-badge:hover {
  box-shadow: 0 2px 6px rgba(37,99,235,0.3);
  transform: translateY(-1px);
}

/* BADGES Y CATEGORÍAS - Estilos minimalistas */
/* Nota: Los badges ahora usan clases específicas .x-tour-badge-*
   Estas clases legacy se mantienen solo para compatibilidad */
#x-confirmacion .x-category-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.125rem 0.5rem;
  border-radius: 9999px;
  font-size: 0.563rem;
  font-weight: 500;
  letter-spacing: 0.025em;
  border: 1px solid;
  transition: all 0.2s ease;
}

/* Iconos dentro de badges */
#x-confirmacion .x-category-badge svg.xtr-icon,
#x-confirmacion [class*="x-tour-badge"] svg.xtr-icon {
  flex-shrink: 0;
  width: 0.625rem;
  height: 0.625rem;
  opacity: 0.85;
}

/* TOURS / SERVICIOS - Sección específica */
/* Contenedor de tours */
#x-confirmacion .x-tours-section {
  width: 100%;
  border-radius: 0.5rem;
  border: 1px solid #e5e7eb;
  background: #ffffff;
  overflow: hidden;
}

/* Header de tours */
#x-confirmacion .x-tours-header {
  padding: 0.5rem 0.75rem;
  border-bottom: 1px solid #f3f4f6;
  background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Badge contador de items */
#x-confirmacion .x-tours-count {
  font-size: 0.625rem;
  padding: 0.125rem 0.375rem;
  border-radius: 9999px;
  background: #2563eb;
  color: #ffffff;
  font-weight: 500;
  line-height: 1;
}

/* Lista de tours */
#x-confirmacion .x-tours-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

/* Item individual de tour */
#x-confirmacion .x-tour-item {
  padding: 0.5rem;
  transition: background-color 0.2s ease;
  border-bottom: 1px solid #f3f4f6;
}

#x-confirmacion .x-tour-item:last-child {
  border-bottom: none;
}

#x-confirmacion .x-tour-item:hover {
  background: rgba(249, 250, 251, 0.8);
}

/* Contenedor de imagen del tour */
#x-confirmacion .x-tour-image {
  height: 4rem;
  width: 4rem;
  flex-shrink: 0;
  border-radius: 0.375rem;
  overflow: hidden;
  border: 1px solid #e5e7eb;
  background: #f9fafb;
  position: relative;
}

#x-confirmacion .x-tour-image img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

#x-confirmacion .x-tour-item:hover .x-tour-image img {
  transform: scale(1.05);
}

/* Placeholder imagen vacía */
#x-confirmacion .x-tour-image-placeholder {
  height: 100%;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #d1d5db;
}

/* Badge número de item */
#x-confirmacion .x-tour-number {
  position: absolute;
  top: 0;
  left: 0;
  background: rgba(37, 99, 235, 0.9);
  color: #ffffff;
  font-size: 0.5rem;
  font-weight: 700;
  padding: 0.125rem 0.25rem;
  border-radius: 0.125rem;
  line-height: 1;
}

/* Contenedor de contenido del tour */
#x-confirmacion .x-tour-content {
  min-width: 0;
  flex: 1;
}

/* Título del tour */
#x-confirmacion .x-tour-title {
  font-size: 0.75rem;
  font-weight: 600;
  color: #111827;
  transition: color 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

#x-confirmacion .x-tour-title:hover {
  color: #1d4ed8;
  text-decoration: underline;
}

/* Precios del tour */
#x-confirmacion .x-tour-price-wrapper {
  text-align: right;
  flex-shrink: 0;
}

#x-confirmacion .x-tour-price-unit {
  font-size: 0.625rem;
  color: #6b7280;
  line-height: 1.2;
}

#x-confirmacion .x-tour-price-total {
  font-size: 0.875rem;
  font-weight: 700;
  color: #1d4ed8;
  line-height: 1.2;
}

/* Contenedor de badges */
#x-confirmacion .x-tour-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
  margin-top: 0.375rem;
}

/* Badge de tipo de servicio */
#x-confirmacion .x-tour-badge-service {
  display: inline-flex;
  align-items: center;
  gap: 0.125rem;
  padding: 0.125rem 0.375rem;
  border-radius: 9999px;
  font-size: 0.563rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.025em;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

#x-confirmacion .x-tour-badge-service:hover {
  transform: translateY(-1px);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Variante privado */
#x-confirmacion .x-tour-badge-service.is-private {
  background: linear-gradient(135deg, #faf5ff 0%, #f3e8ff 100%);
  color: #6b21a8;
  border: 1px solid #e9d5ff;
}

/* Variante compartido */
#x-confirmacion .x-tour-badge-service.is-shared {
  background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
  color: #1e40af;
  border: 1px solid #bfdbfe;
}

/* Badge de cantidad */
#x-confirmacion .x-tour-badge-quantity {
  display: inline-flex;
  align-items: center;
  gap: 0.125rem;
  padding: 0.125rem 0.375rem;
  border-radius: 9999px;
  background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
  color: #15803d;
  border: 1px solid #bbf7d0;
  font-size: 0.563rem;
  font-weight: 600;
  text-transform: uppercase;
}

/* Badge personalizado */
#x-confirmacion .x-tour-badge-custom {
  display: inline-flex;
  align-items: center;
  gap: 0.125rem;
  padding: 0.125rem 0.375rem;
  border-radius: 9999px;
  background: linear-gradient(135deg, #fff7ed 0%, #ffedd5 100%);
  color: #c2410c;
  border: 1px solid #fed7aa;
  font-size: 0.563rem;
  font-weight: 600;
  text-transform: uppercase;
}

/* Badge categoría */
#x-confirmacion .x-tour-badge-category {
  display: inline-flex;
  align-items: center;
  gap: 0.125rem;
  padding: 0.125rem 0.375rem;
  border-radius: 9999px;
  background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
  color: #0369a1;
  border: 1px solid #bae6fd;
  font-size: 0.563rem;
  font-weight: 500;
}

/* Descripción del tour */
#x-confirmacion .x-tour-description {
  font-size: 0.75rem;
  line-height: 1.625;
  color: #4b5563;
  border-left: 2px solid #e5e7eb;
  padding-left: 0.75rem;
  margin-top: 0.5rem;
}

/* Estado vacío */
#x-confirmacion .x-tours-empty {
  padding: 3rem 2rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

#x-confirmacion .x-tours-empty-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.4;
  transition: opacity 0.3s ease;
}

#x-confirmacion .x-tours-empty-icon svg {
  width: 48px;
  height: 48px;
}

#x-confirmacion .x-tours-empty:hover .x-tours-empty-icon {
  opacity: 0.6;
}

#x-confirmacion .x-tours-empty-text {
  font-size: 0.875rem;
  color: #6b7280;
  max-width: 400px;
  line-height: 1.5;
}

/* Responsive */
@media (max-width: 640px) {
  #x-confirmacion .x-tour-image {
    height: 3rem;
    width: 3rem;
  }
  
  #x-confirmacion .x-tour-price-total {
    font-size: 0.8125rem;
  }
  
  #x-confirmacion .x-tour-badges {
    gap: 0.375rem;
  }
  
  #x-confirmacion .x-tour-item {
    padding: 0.75rem 0.5rem;
  }
}

/* Animaciones de carga */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

#x-confirmacion .x-tour-item.animate-in {
  animation: fadeInUp 0.3s ease forwards;
}

/* Carga de imagen - visible por defecto, lazy loading opcional */
#x-confirmacion .x-tour-image img {
  opacity: 1;
  transition: opacity 0.3s ease;
}

/* Si tiene data-src (lazy loading), ocultar hasta cargar */
#x-confirmacion .x-tour-image img[data-src]:not([src]) {
  opacity: 0;
}

#x-confirmacion .x-tour-image img.loaded {
  opacity: 1;
}

/* Textos específicos del tema - Optimizado para mejor legibilidad */
#x-confirmacion .text-gray-400 { color: #9ca3af; }
#x-confirmacion .text-gray-500 { color: #6b7280; }
#x-confirmacion .text-gray-600 { color: #4b5563; }
#x-confirmacion .text-gray-700 { color: #374151; }

/* Inputs y selects - Colores optimizados */
#x-confirmacion input,
#x-confirmacion select,
#x-confirmacion textarea { 
  color: #1e293b; 
  font-weight: 500;
  background: #ffffff;
}

#x-confirmacion input::placeholder,
#x-confirmacion select::placeholder,
#x-confirmacion textarea::placeholder { 
  color: #94a3b8; 
  opacity: 0.9;
}

#x-confirmacion label { 
  color: #334155; 
  font-weight: 600;
}

/* HTMX indicators */
#x-confirmacion .hx-indicator { display:none; }
#x-confirmacion .htmx-request .hx-indicator, #x-confirmacion .htmx-request.hx-indicator { display:inline-block; }

/* Mensaje animado */
#x-confirmacion .vx-msg-ok { animation:fadeOk 3s ease-in forwards; }
@keyframes fadeOk { 0%{opacity:1;} 80%{opacity:1;} 100%{opacity:0;} }

/* Modal PDF */
#x_pdf_modal .relative {
  width: 95vw;
  max-width: 1000px;
  max-height: 90vh;
}
#x_pdf_iframe {
  height: 75vh;
  min-height: 60vh;
}

/* PANEL DE PAGOS PENDIENTES */
/* Estilos movidos a pago-pendiente.css (módulo independiente) */

/* ESTILOS ESPECÍFICOS DE SEARCH.PHP */
body { background: #f8fafc; }

:root {
  --grad-a: #0ea5e9;
  --grad-b: #6366f1;
}

.grad-text {
  background: linear-gradient(90deg, var(--grad-a), var(--grad-b));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.card-reserva {
  position: relative;
}
.card-reserva::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 0.75rem;
  padding: 1px;
  background: linear-gradient(110deg, var(--grad-a), var(--grad-b));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  opacity: .4;
  pointer-events: none;
}

table {
  border-collapse: collapse;
  width: 100%;
}
thead {
  background: #f8fafc;
}
thead th {
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: #475569;
}
tbody tr:hover {
  background: #f8fafc;
}
tbody td {
  border-bottom: 1px solid #e2e8f0;
}
/* DETALLES DE RESERVA - Cards Minimalistas */

/* Contenedor principal de detalles */
#x-confirmacion .lg\:col-span-5 > div {
  background: #ffffff;
  border-radius: 1rem;
  border: 1px solid #e5e7eb;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.03), 0 1px 2px 0 rgba(0, 0, 0, 0.02);
  padding: 1.5rem;
  transition: box-shadow 0.2s ease;
}

#x-confirmacion .lg\:col-span-5 > div:hover {
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
}

/* Título principal de Detalles */
#x-confirmacion .lg\:col-span-5 h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid #f3f4f6;
}

/* Cards individuales - Base */
#x-confirmacion .rounded-lg[class*="border-"] {
  border-radius: 0.75rem;
  padding: 1.25rem;
  transition: all 0.2s ease;
  background: #ffffff;
}

/* Card Comprador Principal - Azul */
#x-confirmacion .border-blue-100 {
  border: 2px solid #dbeafe;
  background: linear-gradient(135deg, #eff6ff 0%, #ffffff 100%);
  box-shadow: 0 2px 4px rgba(59, 130, 246, 0.05);
}

#x-confirmacion .border-blue-100:hover {
  border-color: #bfdbfe;
  box-shadow: 0 4px 8px rgba(59, 130, 246, 0.08);
  transform: translateY(-1px);
}

#x-confirmacion .border-blue-100 .text-blue-700 {
  color: #1d4ed8;
  font-weight: 600;
  font-size: 0.875rem;
  letter-spacing: 0.01em;
}

/* Card Fecha de Viaje - Purple */
#x-confirmacion .border-purple-100 {
  border: 2px solid #f3e8ff;
  background: linear-gradient(135deg, #faf5ff 0%, #ffffff 100%);
  box-shadow: 0 2px 4px rgba(139, 92, 246, 0.05);
}

#x-confirmacion .border-purple-100:hover {
  border-color: #e9d5ff;
  box-shadow: 0 4px 8px rgba(139, 92, 246, 0.08);
  transform: translateY(-1px);
}

#x-confirmacion .border-purple-100 .text-purple-700 {
  color: #7c3aed;
  font-weight: 600;
  font-size: 0.875rem;
}

#x-confirmacion .text-purple-600 {
  color: #9333ea;
  font-weight: 800;
  letter-spacing: -0.02em;
}

/* Card Estado - Neutral */
#x-confirmacion .border-gray-100[class*="p-"] {
  border: 2px solid #f3f4f6;
  background: #ffffff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

#x-confirmacion .border-gray-100[class*="p-"]:hover {
  border-color: #e5e7eb;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.06);
  transform: translateY(-1px);
}

/* Badges de estado más prominentes */
#x-confirmacion .border-green-300 {
  border: 2px solid #86efac;
  background: #dcfce7;
  box-shadow: 0 2px 4px rgba(34, 197, 94, 0.1);
}

#x-confirmacion .border-yellow-300 {
  border: 2px solid #fcd34d;
  background: #fef3c7;
  box-shadow: 0 2px 4px rgba(234, 179, 8, 0.1);
}

#x-confirmacion .border-red-300 {
  border: 2px solid #fca5a5;
  background: #fee2e2;
  box-shadow: 0 2px 4px rgba(239, 68, 68, 0.1);
}

/* Card Order ID y Transacción */
#x-confirmacion .border-gray-100.bg-white {
  border: 1.5px solid #e5e7eb;
  background: #fafafa;
}

#x-confirmacion .border-gray-100.bg-white:hover {
  background: #ffffff;
  border-color: #d1d5db;
}

/* Card Personas - Emerald */
#x-confirmacion .border-emerald-100 {
  border: 2px solid #d1fae5;
  background: linear-gradient(135deg, #ecfdf5 0%, #ffffff 100%);
  box-shadow: 0 2px 4px rgba(16, 185, 129, 0.05);
}

#x-confirmacion .border-emerald-100:hover {
  border-color: #a7f3d0;
  box-shadow: 0 4px 8px rgba(16, 185, 129, 0.08);
  transform: translateY(-1px);
}

#x-confirmacion .text-emerald-700 {
  color: #047857;
  font-weight: 700;
}

/* Iconos dentro de cards */
#x-confirmacion .rounded-lg svg {
  flex-shrink: 0;
  opacity: 0.9;
}

#x-confirmacion .rounded-lg:hover svg {
  opacity: 1;
}

/* Fuentes mono para IDs */
#x-confirmacion .font-mono {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: 0.875rem;
  letter-spacing: -0.01em;
}

/* Timeline mejorado */
#x-confirmacion .border-s-2 {
  border-left-width: 2px;
  border-left-color: #e5e7eb;
}

#x-confirmacion ol li span[class*="border-"] {
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
  transition: all 0.2s ease;
}

#x-confirmacion ol li:hover span[class*="border-"] {
  transform: scale(1.1);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.12);
}

/* Responsive - Mobile optimizations */
@media (max-width: 640px) {
  #x-confirmacion .lg\:col-span-5 > div {
    padding: 1rem;
  }
  
  #x-confirmacion .rounded-lg[class*="border-"] {
    padding: 1rem;
  }
  
  #x-confirmacion .lg\:col-span-5 h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
  }
  
  #x-confirmacion .text-purple-600 {
    font-size: 2rem;
  }
}

/* Smooth transitions globales */
#x-confirmacion .rounded-lg * {
  transition: color 0.15s ease, background-color 0.15s ease;
}

/* BOTONES DE ACCIONES - LIMPIOS SIN BORDES */
/* Botón de búsqueda */
#x-confirmacion form#reserva-search-form button[type="submit"] {
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
}

#x-confirmacion form#reserva-search-form button[type="submit"]:focus {
  outline: none !important;
  box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.3) !important;
}

/* Botones de acciones en tabla */
#x-confirmacion .btn-view-confirm,
#x-confirmacion .btn-open-pdf,
#x-confirmacion button[data-copy-id] {
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  background-color: transparent;
  transition: background-color 0.2s ease;
}

#x-confirmacion .btn-view-confirm:hover,
#x-confirmacion .btn-open-pdf:hover,
#x-confirmacion button[data-copy-id]:hover {
  background-color: #f1f5f9;
  border: none !important;
  outline: none !important;
}

#x-confirmacion .btn-view-confirm:focus,
#x-confirmacion .btn-open-pdf:focus,
#x-confirmacion button[data-copy-id]:focus {
  outline: none !important;
  box-shadow: none !important;
  border: none !important;
}

#x-confirmacion .btn-view-confirm:active,
#x-confirmacion .btn-open-pdf:active,
#x-confirmacion button[data-copy-id]:active {
  outline: none !important;
  box-shadow: none !important;
  border: none !important;
}

#x-confirmacion .btn-view-confirm:focus-visible,
#x-confirmacion .btn-open-pdf:focus-visible,
#x-confirmacion button[data-copy-id]:focus-visible {
  outline: none !important;
  box-shadow: none !important;
  border: none !important;
}

/* Botones mobile con fondo */
#x-confirmacion .md\:hidden .btn-view-confirm,
#x-confirmacion .md\:hidden .btn-open-pdf,
#x-confirmacion .md\:hidden button[data-copy-id] {
  background-color: #f1f5f9;
  border: none !important;
  outline: none !important;
}

#x-confirmacion .md\:hidden .btn-view-confirm:hover,
#x-confirmacion .md\:hidden .btn-open-pdf:hover,
#x-confirmacion .md\:hidden button[data-copy-id]:hover {
  background-color: #e2e8f0;
  border: none !important;
  outline: none !important;
}

#x-confirmacion .md\:hidden .btn-view-confirm:focus,
#x-confirmacion .md\:hidden .btn-open-pdf:focus,
#x-confirmacion .md\:hidden button[data-copy-id]:focus {
  outline: none !important;
  border: none !important;
}

#x-confirmacion .md\:hidden .btn-view-confirm:active,
#x-confirmacion .md\:hidden .btn-open-pdf:active,
#x-confirmacion .md\:hidden button[data-copy-id]:active {
  outline: none !important;
  border: none !important;
}

#x-confirmacion .md\:hidden .btn-view-confirm:focus-visible,
#x-confirmacion .md\:hidden .btn-open-pdf:focus-visible,
#x-confirmacion .md\:hidden button[data-copy-id]:focus-visible {
  outline: none !important;
  border: none !important;
}

/* TABLA DE BÚSQUEDA - Forzar visibilidad correcta */
/* Desktop: Mostrar tabla, ocultar cards */
@media (min-width: 768px) {
  #x-confirmacion #reserva-results .overflow-x-auto.hidden.md\:block {
    display: block !important;
  }
  
  #x-confirmacion #reserva-results .md\:hidden {
    display: none !important;
  }
}

/* Mobile: Ocultar tabla, mostrar cards */
@media (max-width: 767px) {
  #x-confirmacion #reserva-results .overflow-x-auto.hidden {
    display: none !important;
  }
  
  #x-confirmacion #reserva-results .md\:hidden {
    display: flex !important;
  }
}

/* ============================================
   ICONOS SVG - Sistema Nativo XTravel
   ============================================ */

/* Base: Todos los SVG dentro de confirmación */
#x-confirmacion svg {
  display: inline-block;
  vertical-align: middle;
  flex-shrink: 0;
}

/* Clase específica para iconos xtr */
#x-confirmacion .xtr-icon {
  line-height: 1;
  transition: transform 0.15s ease, opacity 0.15s ease;
}

/* Hover suave solo en elementos interactivos */
#x-confirmacion button:hover .xtr-icon,
#x-confirmacion a:hover .xtr-icon {
  transform: scale(1.08);
  opacity: 0.9;
}

/* Alineación en info-row */
#x-confirmacion .info-row svg {
  margin-right: 0.375rem;
}

/* Animación de loading/spinner */
@keyframes xtr-icon-spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

#x-confirmacion .animate-spin {
  animation: xtr-icon-spin 1s linear infinite;
}
