@charset "UTF-8";
/**
 * GESTIONENTRADAS - Modern Front CSS
 * Version 2026 - React/Vue/Angular inspired
 * Modernized from legacy 2010 codebase
 */

/* ===========================
   CSS VARIABLES - Design Tokens
=========================== */
:root {
    /* Brand Colors */
    --primary: #d07530;           /* Naranja cobre principal */
    --primary-dark: #b8631f;      /* Versión más oscura */
    --primary-light: #e39254;     /* Versión más clara */
    --secondary: #d07530;         /* Mantener coherencia o cambiar si prefieres */
    --success: #10b981;
    --warning: #f59e0b;
    --error: #ef4444;
    --info: #3b82f6;
    
    /* Neutral Colors */
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;
    
    /* Functional Colors */
    --bg-primary: #ffffff;
    --bg-secondary: #f9fafb;
    --bg-tertiary: #f3f4f6;
    --text-primary: #111827;
    --text-secondary: #6b7280;
    --border-color: #e5e7eb;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1);
    
    /* Glassmorphism */
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.2);
    --glass-blur: blur(10px);
    
    /* Spacing */
    --space-1: 0.25rem;
    --space-2: 0.5rem;
    --space-3: 0.75rem;
    --space-4: 1rem;
    --space-6: 1.5rem;
    --space-8: 2rem;
    --space-12: 3rem;
    
    /* Border Radius */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;
    --radius-full: 9999px;
    
    /* Transitions */
    --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 250ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 350ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: 500ms cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
    :root {
        --bg-primary: #111827;
        --bg-secondary: #1f2937;
        --bg-tertiary: #374151;
        --text-primary: #f9fafb;
        --text-secondary: #9ca3af;
        --border-color: #374151;
    }
}

/* ===========================
   RESET & BASE
=========================== */
* {
    box-sizing: border-box;
}

.SBook_Form {
    margin: 0;
    padding: var(--space-6);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-primary);
}

/* ===========================
   MODERN PROGRESS BAR (React style)
=========================== */
.progressbar {
    display: flex;
    justify-content: space-between;
    list-style: none;
    padding: 0;
    margin: var(--space-8) 0 var(--space-12);
    counter-reset: step;
    position: relative;
}

.progressbar::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gray-200);
    z-index: 0;
    border-radius: var(--radius-full);
}

.progressbar::after {
    content: '';
    position: absolute;
    top: 20px;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--primary-light));
    z-index: 1;
    border-radius: var(--radius-full);
    transition: width var(--transition-slow);
    box-shadow: 0 0 20px rgba(99, 102, 241, 0.3);
}

.progressbar[data-step="1"]::after { width: 0%; }
.progressbar[data-step="2"]::after { width: 33.33%; }
.progressbar[data-step="3"]::after { width: 66.66%; }
.progressbar[data-step="4"]::after { width: 100%; }

.progressbar li {
    flex: 1;
    text-align: center;
    position: relative;
    z-index: 2;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--gray-400);
    transition: color var(--transition-base);
}

.progressbar li::before {
    content: counter(step);
    counter-increment: step;
    width: 40px;
    height: 40px;
    line-height: 40px;
    display: block;
    margin: 0 auto 12px;
    background: var(--bg-primary);
    border: 3px solid var(--gray-200);
    border-radius: var(--radius-full);
    font-weight: 700;
    transition: all var(--transition-bounce);
    box-shadow: var(--shadow-sm);
}

.progressbar li.active {
    color: var(--primary);
}

.progressbar li.active::before {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-color: var(--primary);
    color: white;
    transform: scale(1.15);
    box-shadow: 0 8px 16px rgba(99, 102, 241, 0.3);
}

.progressbar li.pending {
    color: var(--gray-600);
}

.progressbar li.pending::before {
    border-color: var(--primary-light);
    background: var(--bg-primary);
}

/* ===========================
   FORM INPUTS - Modern Material Design
=========================== */
.SBook_Form p {
    margin-bottom: var(--space-6);
    position: relative;
}

.SBook_Field {
    width: 100%;
    padding: 14px 16px;
    font-size: 1rem;
    font-family: inherit;
    color: var(--text-primary);
    background: var(--bg-primary);
    border: 2px solid var(--border-color);
    border-radius: var(--radius-lg);
    transition: all var(--transition-base);
    outline: none;
    -webkit-appearance: none;
}

.SBook_Field::placeholder {
    color: var(--gray-400);
    font-weight: 400;
}

.SBook_Field:hover {
    border-color: var(--gray-300);
}

.SBook_Field:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1);
    transform: translateY(-1px);
}

.SBook_Field.error {
    border-color: var(--error);
    background: rgba(239, 68, 68, 0.05);
}

.SBook_Field.error:focus {
    box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.1);
}

/* Floating Label Effect */
.form-group {
    position: relative;
    margin-bottom: var(--space-6);
}

.form-group label {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gray-400);
    pointer-events: none;
    transition: all var(--transition-base);
    background: var(--bg-primary);
    padding: 0 4px;
    font-size: 1rem;
}

.form-group input:focus + label,
.form-group input:not(:placeholder-shown) + label {
    top: 0;
    font-size: 0.75rem;
    color: var(--primary);
    font-weight: 600;
}

/* ===========================
   BUTTONS - Modern Gradient Style
=========================== */
.SBook_Event_Button,
.TBook_Button,.TBook_Button_Green {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    padding: 14px 28px;
    font-size: 1rem;
    font-weight: 600;
    color: white;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border: none;
    border-radius: var(--radius-xl);
    cursor: pointer;
    transition: all var(--transition-base);
    overflow: hidden;
    box-shadow: 0 4px 14px rgba(99, 102, 241, 0.4);
}
.TBook_Button_Green::before,
.SBook_Event_Button::before,
.TBook_Button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width var(--transition-slow), height var(--transition-slow);
}
.TBook_Button_Green:hover,
.SBook_Event_Button:hover,
.TBook_Button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(99, 102, 241, 0.5);
}
.TBook_Button_Green:hover::before,
.SBook_Event_Button:hover::before,
.TBook_Button:hover::before {
    width: 300px;
    height: 300px;
}
.TBook_Button_Green:active,
.SBook_Event_Button:active,
.TBook_Button:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(99, 102, 241, 0.3);
}

/* Button Secondary */
.btn-secondary {
    background: var(--gray-100);
    color: var(--gray-700);
    box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
    background: var(--gray-200);
    box-shadow: var(--shadow-md);
}

/* ===========================
   CARDS & CONTAINERS - Glassmorphism
=========================== */
.TBook_W_Holder {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-xl);
    overflow: hidden;
    animation: slideUp 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.TBook_W_Top {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    padding: var(--space-8);
    color: white;
    position: relative;
    overflow: hidden;
}

.TBook_W_Top::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.TBook_Middle {
    padding: var(--space-8);
    background: var(--bg-primary);
     max-width: 900px;
     margin: 20px auto;
}

/* ===========================
   PRICE BOX - Modern Card Design
=========================== */
.SBook_PriceBox {
    background: linear-gradient(135deg, var(--gray-50), var(--gray-100));
    border: 2px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: var(--space-6);
    margin-bottom: var(--space-6);
    position: relative;
    overflow: hidden;
}

.SBook_PriceBox::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, var(--primary), var(--primary-light));
}

.SBook_Price {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-4);
    margin-bottom: var(--space-3);
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
}

.SBook_Price:hover {
    transform: translateX(4px);
    box-shadow: var(--shadow-md);
}

.SBook_Price label {
    font-weight: 600;
    color: var(--text-primary);
}

.SBook_Price .price-value {
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ===========================
   ERROR MESSAGES - Modern Toast Style
=========================== */
.SBook_Error,
.error {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    padding: var(--space-4);
    background: rgba(239, 68, 68, 0.1);
    border: 2px solid var(--error);
    border-radius: var(--radius-lg);
    color: var(--error);
    font-weight: 500;
    margin: var(--space-4) 0;
    animation: shake 0.5s cubic-bezier(.36,.07,.19,.97) both;
}

@keyframes shake {
    10%, 90% { transform: translateX(-2px); }
    20%, 80% { transform: translateX(4px); }
    30%, 50%, 70% { transform: translateX(-6px); }
    40%, 60% { transform: translateX(6px); }
}

.SBook_Error::before,
.error::before {
    content: '⚠️';
    font-size: 1.5rem;
}

/* ===========================
   SUCCESS MESSAGES
=========================== */
.SBook_Success {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    padding: var(--space-4);
    background: rgba(16, 185, 129, 0.1);
    border: 2px solid var(--success);
    border-radius: var(--radius-lg);
    color: var(--success);
    font-weight: 500;
    margin: var(--space-4) 0;
    animation: slideDown 0.4s ease-out;
}

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

.SBook_Success::before {
    content: '✓';
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: var(--success);
    color: white;
    border-radius: var(--radius-full);
    font-weight: 700;
}

/* ===========================
   LOADING STATES - Modern Skeleton
=========================== */
.skeleton {
    background: linear-gradient(90deg, var(--gray-200) 25%, var(--gray-100) 50%, var(--gray-200) 75%);
    background-size: 200% 100%;
    animation: loading 1.5s ease-in-out infinite;
    border-radius: var(--radius-md);
}

@keyframes loading {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid var(--gray-200);
    border-top-color: var(--primary);
    border-radius: var(--radius-full);
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ===========================
   COUPON INPUT - Special Design
=========================== */
.coupon-wrapper {
    display: flex;
    gap: var(--space-3);
    align-items: stretch;
}

.coupon-wrapper input {
    flex: 1;
}

.coupon-wrapper button {
    white-space: nowrap;
    min-width: 120px;
}

/* ===========================
   SEAT SELECTION - Interactive Grid
=========================== */
.seat-grid {
    display: grid;
    gap: var(--space-2);
    padding: var(--space-4);
    background: var(--gray-50);
    border-radius: var(--radius-xl);
}

.seat {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--transition-base);
    font-weight: 600;
    font-size: 0.875rem;
}

.seat:hover {
    border-color: var(--primary);
    transform: scale(1.05);
    box-shadow: var(--shadow-md);
}

.seat.selected {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-color: var(--primary);
    color: white;
    transform: scale(1.1);
}

.seat.occupied {
    background: var(--gray-200);
    color: var(--gray-400);
    cursor: not-allowed;
    opacity: 0.5;
}

/* ===========================
   RESPONSIVE DESIGN
=========================== */
@media (max-width: 768px) {
    .SBook_Form {
        padding: var(--space-4);
    }
    
    .progressbar li {
        font-size: 0.75rem;
    }
    
    .progressbar li::before {
        width: 32px;
        height: 32px;
        line-height: 32px;
    }
    
    .TBook_W_Holder {
        border-radius: var(--radius-xl);
    }
    
    .coupon-wrapper {
        flex-direction: column;
    }
    
    .SBook_Price {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--space-2);
    }
}

/* ===========================
   ANIMATIONS & MICRO-INTERACTIONS
=========================== */
.fade-in {
    animation: fadeIn 0.5s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.scale-in {
    animation: scaleIn 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Focus visible for accessibility */
*:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* ===========================
   UTILITY CLASSES
=========================== */
.text-center { text-align: center; }
.text-right { text-align: right; }
.text-left { text-align: left; }
.mt-4 { margin-top: var(--space-4); }
.mb-4 { margin-bottom: var(--space-4); }
.p-4 { padding: var(--space-4); }
.hidden { display: none; }
.flex { display: flex; }
.grid { display: grid; }
.gap-4 { gap: var(--space-4); }







/* =====================================================
   SELECTED SEAT (CARRITO) – UX MEJORADO
===================================================== */

.TBook_Seat_Holder {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: 6px 10px;
    margin: 4px 6px 4px 0;
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-full);
    box-shadow: var(--shadow-sm);
    font-size: 0.875rem;
    transition: all var(--transition-base);
    position: relative;
}

/* Hover general */
.TBook_Seat_Holder:hover {
    border-color: var(--error);
    box-shadow: var(--shadow-md);
    background: rgba(239, 68, 68, 0.05);
}

/* Texto asiento */
.TBook_Seat {
    background: none;
    color: var(--text-primary);
    font-weight: 500;
    padding: 0;
}

/* Precio */
.TBook_Seat_Price {
    background: none;
    color: var(--gray-600);
    font-weight: 600;
    padding: 0;
}

/* BOTÓN ELIMINAR */
.TBook_Seat_Deselect {
    width: 22px;
    height: 22px;
    margin-left: 6px;
    border-radius: 50%;
    background: var(--error);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;

    /* Oculto por defecto */
    opacity: 0;
    transform: scale(0.8);
    transition: all var(--transition-base);
}

/* Icono X */
.TBook_Seat_Deselect::before {
    content: "✕";
    color: white;
    font-size: 14px;
    line-height: 1;
    font-weight: 700;
}

/* Mostrar eliminar al hover */
.TBook_Seat_Holder:hover .TBook_Seat_Deselect {
    opacity: 1;
    transform: scale(1);
}

/* Hover eliminar */
.TBook_Seat_Deselect:hover {
    background: #dc2626; /* rojo más fuerte */
    transform: scale(1.1);
}


/* =====================================================
   OVERLAY LEGACY – FIX COMPATIBLE CON CSS MODERNO
   (NO TOCAR JS – SOLO CSS)
===================================================== */


/**
 * Tooltip Styles
 */
 .tooltip {
    display: inline;
    position: relative;
  }
  .tooltip:hover:after {
    bottom: 26px;
    content: attr(title); /* este es el texto que será mostrado */
    left: 20%;
    position: absolute;
    z-index: 98;
    /* el formato gráfico */
    background: rgba(255,255,255, 0.2); /* el color de fondo */
    border-radius: 5px;
    color: #FFF; /* el color del texto */
    font-family: Georgia;
    font-size: 12px;
    padding: 5px 15px;
    text-align: center;
    text-shadow: 1px 1px 1px #000;
    width: 150px;
  }
  .tooltip:hover:before {
    bottom: 20px;
    content: "";
    left: 50%;
    position: absolute;
    z-index: 99;
    /* el triángulo inferior */
    border: solid;
    border-color: rgba(255,255,255, 0.2) transparent;
    border-width: 6px 6px 0 6px;
  }
  
    .tooltipp {
	display:none;
	position:absolute;
	border:1px solid #333;
	background-color:#161616;
	opacity:0.8;
	border-radius:5px;
	padding:5px;
	color:#fff;
	font-size:12px Arial;
	z-index: 1000;
}
.sbook-available:hover +.tooltipp{
	display:block;
}
  /**
 * Tooltip Styles NOT WORKING
 */
[data-tooltip] {
  position: relative;
  z-index: 2;
  cursor: pointer;
}

/* Hide the tooltip content by default */
[data-tooltip]:before,
[data-tooltip]:after {
  visibility: hidden;
  -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
  filter: progid: DXImageTransform.Microsoft.Alpha(Opacity=0);
  opacity: 0;
  pointer-events: none;
}

/* Position tooltip above the element */
[data-tooltip]:before {
  position: absolute;
  bottom: 150%;
  left: 50%;
  margin-bottom: 5px;
  margin-left: -80px;
  padding: 7px;
  width: 160px;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  border-radius: 3px;
  background-color: #000;
  background-color: hsla(0, 0%, 20%, 0.9);
  color: #fff;
  content: attr(data-tooltip);
  text-align: center;
  font-size: 14px;
  line-height: 1.2;
}

/* Triangle hack to make tooltip look like a speech bubble */
[data-tooltip]:after {
  position: absolute;
  bottom: 150%;
  left: 50%;
  margin-left: -5px;
  width: 0;
  border-top: 5px solid #000;
  border-top: 5px solid hsla(0, 0%, 20%, 0.9);
  border-right: 5px solid transparent;
  border-left: 5px solid transparent;
  content: " ";
  font-size: 0;
  line-height: 0;
}

/* Show tooltip content on hover */
[data-tooltip]:hover:before,
[data-tooltip]:hover:after {
  visibility: visible;
  -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
  filter: progid: DXImageTransform.Microsoft.Alpha(Opacity=100);
  opacity: 1;
}


/* Map */

.sbook-rect{

	cursor: pointer;

	display: block;

	font-size: 0.9em;

	overflow: hidden;

	position: absolute;

	text-align: center;

	z-index: 1000;

}
/* =====================================================
   OVERLAY LEGACY – FIX MAPA / ASIENTOS / CENTRADO
===================================================== */

/* Overlay fondo */
.TBook_Overlay {
    position: fixed;
    inset: 0;
    background: rgba(17, 24, 39, 0.65);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    display: none;
    z-index: 9998;
}

/* Caja principal */
.TBook_OverlayBox {
    position: fixed !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;

    background: var(--bg-primary);
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--border-color);

    max-width: 95vw;
    max-height: 95vh;
    overflow: hidden;
    z-index: 9999;
}
.TBook_Overlay,
.TBook_OverlayBox {
    display: none;
}

/* Cuando JS legacy los activa */
.TBook_Overlay.active,
.TBook_OverlayBox.active {
    display: block;
}
/* Header */
.TBook_OverlayBoxTop {
    height: 90px;
    padding: var(--space-4);
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: white;
}

/* INFO ASIENTOS */
.TBook_OverlayBoxSeats {
    padding: var(--space-3) var(--space-4);
    background: rgba(16, 185, 129, 0.12);
    border-bottom: 1px solid var(--border-color);
    font-weight: 600;
}

/* Head (zoom + texto) */
.TBook_OverlayBoxHead {
    padding: var(--space-4);
    text-align: center;
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border-color);
}

/* 🔥 CONTENEDOR MAPA – CLAVE */
.TBook_OverlayBoxMiddle {
    position: relative !important;   /* 🔥 OBLIGATORIO */
    overflow: auto !important;
    background: #fff;
}

/* Imagen del mapa */
.TBook_OverlayBoxMiddle img {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 500;
    max-width: none;
}

/* ASIENTOS */
.sbook-rect {
    position: absolute;
    z-index: 600;
    text-align: center;
    font-size: 10px;
    font-weight: 600;
    border-radius: 3px;
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

/* Estados */
.sbook-available {
    background: var(--success);
    color: #fff;
}

.sbook-busy {
    background: var(--gray-400);
    cursor: not-allowed;
}

.sbook-selected {
    background: var(--warning);
    color: #111;
    transform: scale(1.2);
    z-index: 700;
}

/* Hover asiento */
.sbook-available:hover {
    transform: scale(1.25);
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    z-index: 700;
}

/* TOOLTIP */
.tooltipp {
    position: absolute;
    z-index: 800;
    background: rgba(17, 24, 39, 0.9);
    color: #fff;
    font-size: 12px;
    padding: 4px 8px;
    border-radius: 4px;
    white-space: nowrap;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.15s ease;
}

/* Mostrar tooltip al hover del asiento */
.sbook-rect:hover + .tooltipp {
    opacity: 1;
}

/* Leyenda */
.TBook_OverlayBoxLegend {
    padding: var(--space-3);
    background: var(--bg-primary);
    border-top: 1px solid var(--border-color);
}

/* Footer */
.TBook_OverlayBoxBottom {
    padding: var(--space-4);
    text-align: center;
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
}




/* Mensaje informativo destacado */


/* Countdown Timer (opcional) */
#countdown-time, #timer {
    font-weight: 700;
    font-size: 22px;
    color: #dc2626; /* Rojo para urgencia */
    margin-left: 8px;
}



/* =====================================================
   PANTALLA CONFIRMACIÓN – DISEÑO MODERNO
===================================================== */


/* =====================================================
   FORMULARIO – GRID MODERNO
===================================================== */
.TBook_Middle form {
    padding: var(--space-8);
}

/* Cada fila del resumen */
.TBook_Middle form > p {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: var(--space-4);
    align-items: center;
    padding: var(--space-4) 0;
    border-bottom: 1px solid var(--gray-100);
    transition: background var(--transition-base);
}

/* Hover sobre filas */
.TBook_Middle form > p:hover {
    background: var(--gray-50);
    padding-left: var(--space-2);
    padding-right: var(--space-2);
    margin-left: calc(var(--space-2) * -1);
    margin-right: calc(var(--space-2) * -1);
    border-radius: var(--radius-md);
}

/* Primera fila sin borde superior */
.TBook_Middle form > p:first-of-type {
    padding-top: 0;
}

/* Última fila (botones) sin borde inferior */
.TBook_Middle form > p:last-of-type {
    border-bottom: none;
    padding-top: var(--space-6);
    padding-bottom: 0;
}

/* =====================================================
   LABELS Y VALORES
===================================================== */
.TBook_Middle label.title {
    font-weight: 600;
    color: var(--gray-600);
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.025em;
}

/* Valores */
.TBook_Middle p span,
.TBook_Middle p:not(:has(label.title)) {
    font-size: 1rem;
    color: var(--text-primary);
    font-weight: 500;
}

/* =====================================================
   FILAS DE PRECIO – DESTACADAS
===================================================== */
/* TOTAL – DESTACADO */
.summary-total {
    background: linear-gradient(135deg, var(--primary), var(--primary-light)) !important;
    color: white !important;
    
    /* 🔥 DESTACADO VISUAL */
    padding: var(--space-8) var(--space-6) !important;
    margin: var(--space-6) calc(var(--space-8) * -1) !important;
    border-radius: 0 !important;
    box-shadow: 0 10px 40px rgba(99, 102, 241, 0.4), 
                inset 0 1px 0 rgba(255, 255, 255, 0.2);
    
    /* Layout especial */
    display: flex !important;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    text-align: center;
    
    position: relative;
    overflow: hidden;
    border: none !important;
    
    /* Animación sutil */
    animation: pulse 2s ease-in-out infinite;
}

/* Efecto de brillo animado */
.summary-total::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.15) 0%, transparent 70%);
    animation: rotate 8s linear infinite;
}

@keyframes pulse {
    0%, 100% { 
        box-shadow: 0 10px 40px rgba(99, 102, 241, 0.4), 
                    inset 0 1px 0 rgba(255, 255, 255, 0.2);
    }
    50% { 
        box-shadow: 0 15px 50px rgba(99, 102, 241, 0.6), 
                    inset 0 1px 0 rgba(255, 255, 255, 0.3);
    }
}

/* Label del total */
.summary-total label.title {
    color: rgba(255, 255, 255, 0.95) !important;
    font-size: 0.875rem !important;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 600 !important;
    margin: 0 !important;
}

/* 🔥 PRECIO - SUPER GRANDE */
.summary-total::after {
    content: attr(data-price);
    display: block;
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    position: relative;
    z-index: 1;
}

/* Alternativa si no puedes usar data-attribute */
.summary-total {
    font-size: 3rem !important;
    font-weight: 800 !important;
    line-height: 1.2 !important;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.summary-total:hover {
    transform: scale(1.02);
    box-shadow: 0 20px 60px rgba(99, 102, 241, 0.5), 
                inset 0 1px 0 rgba(255, 255, 255, 0.3);
}
/* =====================================================
   BOTONES – MEJORADOS
===================================================== */
.TBook_Middle form > p:has(.SBook_Event_Button) {
    display: flex;
    gap: var(--space-3);
    justify-content: flex-end;
    grid-template-columns: none;
}
/*
.TBook_Button_Green {
    background: linear-gradient(135deg, #10b981, #059669);
    border-radius: var(--radius-full);
    padding: 14px 32px;
    font-weight: 600;
    color: #fff;
    border: none;
    cursor: pointer;
    box-shadow: 0 6px 14px rgba(16, 185, 129, 0.35);
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.TBook_Button_Green::before {
    content: '✓';
    position: absolute;
    left: 16px;
    opacity: 0;
    transition: all var(--transition-base);
}

.TBook_Button_Green:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(16, 185, 129, 0.45);
    padding-left: 40px;
}

.TBook_Button_Green:hover::before {
    opacity: 1;
}

.TBook_Button_Green:active {
    transform: translateY(0);
}

.TBook_Button {
    background: transparent;
    border: 2px solid var(--gray-300);
    border-radius: var(--radius-full);
    padding: 12px 28px;
    color: var(--gray-700);
    cursor: pointer;
    transition: all var(--transition-base);
    font-weight: 600;
}

.TBook_Button:hover {
    background: var(--gray-100);
    border-color: var(--gray-400);
    transform: translateY(-1px);
}
*/
/* =====================================================
   MÉTODO DE PAGO – TARJETAS
===================================================== */
.TBook_Middle form > p:has(img) {
    background: var(--bg-secondary);
    padding: var(--space-4);
    border-radius: var(--radius-lg);
    margin-left: calc(var(--space-4) * -1);
    margin-right: calc(var(--space-4) * -1);
}

.TBook_Middle form > p img {
    max-width: 200px;
    height: auto;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

/* =====================================================
   RESPONSIVE
===================================================== */
@media (max-width: 640px) {
    .TBook_Middle {
        margin: 12px;
        border-radius: var(--radius-xl);
    }
    
    .TBook_Middle form {
        padding: var(--space-4);
    }
    
    .TBook_Middle form > p {
        grid-template-columns: 1fr;
        gap: var(--space-2);
    }
    
    .TBook_Middle label.title {
        font-size: 0.75rem;
    }
    
    .TBook_Middle form > p:has(.SBook_Event_Button) {
        flex-direction: column-reverse;
    }
    
    .TBook_Button,
    .TBook_Button_Green {
        width: 100%;
    }
}

/* =====================================================
   ANIMACIONES DE ENTRADA
===================================================== */
.TBook_Middle {
    animation: slideUp 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.SBook_Info {
    animation: slideDown 0.5s ease-out 0.2s both;
}

.TBook_Middle form > p {
    animation: fadeIn 0.4s ease-out both;
}

.TBook_Middle form > p:nth-child(1) { animation-delay: 0.1s; }
.TBook_Middle form > p:nth-child(2) { animation-delay: 0.15s; }
.TBook_Middle form > p:nth-child(3) { animation-delay: 0.2s; }
.TBook_Middle form > p:nth-child(4) { animation-delay: 0.25s; }
.TBook_Middle form > p:nth-child(5) { animation-delay: 0.3s; }








/* ===========================
   CHECKBOXES & RADIOS - Modern Custom Design
=========================== */

/* Ocultar checkbox/radio nativo */
input[type="checkbox"],
input[type="radio"] {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    width: 20px;
    height: 20px;
    border: 2px solid var(--border-color);
    background: var(--bg-primary);
    cursor: pointer;
    position: relative;
    transition: all var(--transition-base);
    margin-right: var(--space-2);
    vertical-align: middle;
}

/* Checkbox cuadrado */
input[type="checkbox"] {
    border-radius: var(--radius-sm);
}

/* Radio circular */
input[type="radio"] {
    border-radius: var(--radius-full);
}

/* Hover */
input[type="checkbox"]:hover,
input[type="radio"]:hover {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

/* Focus */
input[type="checkbox"]:focus,
input[type="radio"]:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.15);
}

/* =====================================================
   CHECKBOX CHECKED – ESTADO SELECCIONADO
===================================================== */
input[type="checkbox"]:checked {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-color: var(--primary);
}

/* Checkmark (✓) */
input[type="checkbox"]:checked::before {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
}

/* =====================================================
   RADIO CHECKED – ESTADO SELECCIONADO
===================================================== */
input[type="radio"]:checked {
    border-color: var(--primary);
    background: var(--bg-primary);
}

/* Punto interior */
input[type="radio"]:checked::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 10px;
    height: 10px;
    border-radius: var(--radius-full);
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
}

/* =====================================================
   DISABLED STATE
===================================================== */
input[type="checkbox"]:disabled,
input[type="radio"]:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background: var(--gray-100);
    border-color: var(--gray-300);
}

/* =====================================================
   LABELS CON CHECKBOXES/RADIOS
===================================================== */
label:has(input[type="checkbox"]),
label:has(input[type="radio"]) {
    display: inline-flex;
    align-items: center;
    cursor: pointer;
    user-select: none;
    transition: color var(--transition-base);
}

label:has(input[type="checkbox"]):hover,
label:has(input[type="radio"]):hover {
    color: var(--primary);
}

/* =====================================================
   CHECKBOX/RADIO EN FORMULARIOS
===================================================== */
.SBook_Form input[type="checkbox"],
.SBook_Form input[type="radio"] {
    margin-top: 0;
    margin-bottom: 0;
}

/* Para formularios con p que contienen checkbox */
.SBook_Form p:has(input[type="checkbox"]),
.SBook_Form p:has(input[type="radio"]) {
    display: flex;
    align-items: center;
    gap: var(--space-2);
}

/* =====================================================
   VARIANTE SWITCH/TOGGLE (Opcional)
===================================================== */
.switch {
    position: relative;
    display: inline-block;
    width: 48px;
    height: 24px;
}

.switch input[type="checkbox"] {
    opacity: 0;
    width: 0;
    height: 0;
}

.switch .slider {
    position: absolute;
    cursor: pointer;
    inset: 0;
    background: var(--gray-300);
    transition: var(--transition-base);
    border-radius: var(--radius-full);
}

.switch .slider::before {
    content: '';
    position: absolute;
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background: white;
    transition: var(--transition-base);
    border-radius: var(--radius-full);
    box-shadow: var(--shadow-sm);
}

.switch input[type="checkbox"]:checked + .slider {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
}

.switch input[type="checkbox"]:checked + .slider::before {
    transform: translateX(24px);
}

.switch input[type="checkbox"]:focus + .slider {
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.15);
}

/* =====================================================
   ANIMACIONES CHECKBOX
===================================================== */
@keyframes checkboxCheck {
    0% {
        transform: translate(-50%, -50%) scale(0);
    }
    50% {
        transform: translate(-50%, -50%) scale(1.2);
    }
    100% {
        transform: translate(-50%, -50%) scale(1);
    }
}

input[type="checkbox"]:checked::before {
    animation: checkboxCheck 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes radioCheck {
    0% {
        transform: translate(-50%, -50%) scale(0);
    }
    50% {
        transform: translate(-50%, -50%) scale(1.3);
    }
    100% {
        transform: translate(-50%, -50%) scale(1);
    }
}

input[type="radio"]:checked::before {
    animation: radioCheck 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* =====================================================
   RESPONSIVE
===================================================== */
@media (max-width: 640px) {
    input[type="checkbox"],
    input[type="radio"] {
        width: 18px;
        height: 18px;
    }
    
    input[type="checkbox"]:checked::before {
        font-size: 12px;
    }
    
    input[type="radio"]:checked::before {
        width: 8px;
        height: 8px;
    }
}








/* =====================================================
   🔥 INFO BOX PREMIUM – AVISO DE PAGO SEGURO
===================================================== */

.SBook_Info {
    position: relative;
    background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
    border: 2px solid #3b82f6;
    border-radius: var(--radius-xl);
    padding: var(--space-6) var(--space-8);
    margin-bottom: var(--space-6);
    font-size: 0.9375rem;
    line-height: 1.7;
    color: #1e40af;
    box-shadow: 0 8px 20px rgba(59, 130, 246, 0.15);
    overflow: hidden;
    animation: slideDown 0.5s ease-out;
}

/* Icono decorativo grande */
.SBook_Info::before {
    content: '🔒';
    position: absolute;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
    font-size: 72px;
    opacity: 0.08;
    pointer-events: none;
}

/* Efecto de brillo sutil */
.SBook_Info::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.3) 0%, transparent 70%);
    animation: rotate 15s linear infinite;
    pointer-events: none;
}

/* Contenido por encima del efecto */
.SBook_Info > * {
    position: relative;
    z-index: 1;
}

/* Icono inline al inicio */
.SBook_Info span:first-child::before {
    content: '🔐 ';
    font-size: 1.25rem;
    margin-right: var(--space-2);
    vertical-align: middle;
}

/* =====================================================
   TIMER – ELEGANTE Y SUTIL
===================================================== */

.SBook_Info strong {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    background: linear-gradient(135deg, #f97316, #ea580c);  /* Naranja suave */
    color: white;
    padding: 6px 16px;
    border-radius: var(--radius-full);
    font-size: 1.125rem;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(249, 115, 22, 0.25);
    animation: pulse-timer 2s ease-in-out infinite;
}

/* Icono reloj antes del timer */
.SBook_Info strong::before {
    content: '⏱️';
    font-size: 1.25rem;
}

/* Animación pulsante del timer */
@keyframes pulse-timer {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 4px 12px rgba(249, 115, 22, 0.25);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 6px 16px rgba(249, 115, 22, 0.4);
    }
}

/* ID del timer */
#timer {
    font-family: 'Courier New', monospace;
    font-weight: 800;
    letter-spacing: 0.05em;
}

/* =====================================================
   ALTERNATIVAS DE COLOR PARA EL TIMER
===================================================== */

/* Opción 1: Ámbar/Dorado elegante */
.SBook_Info strong.amber {
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    box-shadow: 0 4px 12px rgba(251, 191, 36, 0.3);
}

/* Opción 2: Azul oscuro sofisticado */
.SBook_Info strong.blue-dark {
    background: linear-gradient(135deg, #1e40af, #1e3a8a);
    box-shadow: 0 4px 12px rgba(30, 64, 175, 0.3);
}

/* Opción 3: Slate/Gris elegante */
.SBook_Info strong.slate {
    background: linear-gradient(135deg, #475569, #334155);
    box-shadow: 0 4px 12px rgba(71, 85, 105, 0.3);
}

/* Opción 4: Fucsia/Rosa suave */
.SBook_Info strong.pink {
    background: linear-gradient(135deg, #ec4899, #db2777);
    box-shadow: 0 4px 12px rgba(236, 72, 153, 0.3);
}

/* =====================================================
   VARIANTE: WARNING STYLE (Opcional)
===================================================== */

.SBook_Info.warning {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border-color: #f59e0b;
    color: #92400e;
    box-shadow: 0 8px 20px rgba(245, 158, 11, 0.2);
}

.SBook_Info.warning::before {
    content: '⚠️';
}

.SBook_Info.warning strong {
    background: linear-gradient(135deg, #f59e0b, #d97706);
}

/* =====================================================
   VARIANTE: SUCCESS STYLE (Opcional)
===================================================== */

.SBook_Info.success {
    background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
    border-color: #10b981;
    color: #065f46;
    box-shadow: 0 8px 20px rgba(16, 185, 129, 0.2);
}

.SBook_Info.success::before {
    content: '✓';
}

.SBook_Info.success strong {
    background: linear-gradient(135deg, #10b981, #059669);
}

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

@media (max-width: 640px) {
    .SBook_Info {
        padding: var(--space-4) var(--space-4);
        font-size: 0.875rem;
        text-align: center;
    }
    
    .SBook_Info::before {
        font-size: 48px;
        right: 10px;
    }
    
    .SBook_Info strong {
        font-size: 1rem;
        padding: 5px 12px;
        display: inline-flex;
    }
    
    .SBook_Info br {
        display: none;
    }
    
    .SBook_Info {
        line-height: 1.6;
    }
}

/* =====================================================
   HOVER EFFECT
===================================================== */

.SBook_Info:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(59, 130, 246, 0.25);
    border-color: #2563eb;
}

.SBook_Info:hover strong {
    transform: scale(1.05);
}

/* Estados del timer según tiempo restante */
.SBook_Info strong.timer-warning {
    background: linear-gradient(135deg, #f59e0b, #d97706) !important;
    animation: pulse-warning 1s ease-in-out infinite;
}

.SBook_Info strong.timer-danger {
    background: linear-gradient(135deg, #dc2626, #b91c1c) !important;
    animation: pulse-danger 0.8s ease-in-out infinite;
}

@keyframes pulse-warning {
    0%, 100% {
        box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
    }
    50% {
        box-shadow: 0 6px 20px rgba(245, 158, 11, 0.6);
    }
}

@keyframes pulse-danger {
    0%, 100% {
        box-shadow: 0 4px 12px rgba(220, 38, 38, 0.4);
    }
    50% {
        box-shadow: 0 8px 24px rgba(220, 38, 38, 0.7);
    }
}









/* =====================================================
   RESPONSIVE MEJORADO - MÓVIL OPTIMIZADO
===================================================== */

@media (max-width: 768px) {
    /* Base font size más grande en móvil */
    .SBook_Form {
        padding: var(--space-4);
        font-size: 17px; /* iOS optimal reading size */
    }
    
    /* Progress bar */
    .progressbar {
        margin: var(--space-6) 0 var(--space-8);
    }
    
    .progressbar li {
        font-size: 0.8125rem; /* 13px */
    }
    
    .progressbar li::before {
        width: 36px;
        height: 36px;
        line-height: 36px;
        font-size: 0.875rem;
    }
    
    /* Inputs más grandes */
    .SBook_Field {
        padding: 16px;
        font-size: 1.0625rem; /* 17px - evita zoom en iOS */
        border-radius: var(--radius-md);
    }
    
    /* Botones más grandes y táctiles */
    .SBook_Event_Button,
    .TBook_Button,
    .TBook_Button_Green {
        padding: 16px 32px;
        font-size: 1.0625rem; /* 17px */
        min-height: 48px; /* Tamaño táctil mínimo */
        width: 100%;
    }
    
    /* Contenedores */
    .TBook_W_Holder {
        border-radius: var(--radius-xl);
        margin: var(--space-2);
    }
    
    .TBook_Middle {
        padding: var(--space-4);
        margin: 0;
    }
    
    /* Formulario de confirmación */
    .TBook_Middle form {
        padding: var(--space-4);
    }
    
    .TBook_Middle form > p {
        grid-template-columns: 1fr;
        gap: var(--space-2);
        padding: var(--space-3) 0;
    }
    
    .TBook_Middle label.title {
        font-size: 0.8125rem; /* 13px */
        margin-bottom: var(--space-1);
    }
    
    .TBook_Middle p span,
    .TBook_Middle p:not(:has(label.title)) {
        font-size: 1.0625rem; /* 17px */
    }
    
    /* Info box más grande */
    .SBook_Info {
        padding: var(--space-4);
        font-size: 0.9375rem; /* 15px */
        text-align: left;
    }
    
    .SBook_Info::before {
        font-size: 56px;
        right: 12px;
        opacity: 0.06;
    }
    
    .SBook_Info strong {
        font-size: 1.0625rem; /* 17px */
        padding: 8px 16px;
        display: inline-flex;
    }
    
    .SBook_Info strong::before {
        font-size: 1.125rem;
    }
    
    /* Timer más visible */
    #timer {
        font-size: 1.125rem; /* 18px */
    }
    
    /* Total destacado responsive */
    .summary-total {
        font-size: 2.25rem !important; /* 36px */
        padding: var(--space-6) var(--space-4) !important;
        margin: var(--space-4) calc(var(--space-4) * -1) !important;
    }
    
    .summary-total label.title {
        font-size: 0.8125rem !important; /* 13px */
    }
    
    /* Botones en fila de formulario */
    .TBook_Middle form > p:has(.SBook_Event_Button) {
        flex-direction: column-reverse;
        gap: var(--space-3);
    }
    
    .TBook_Button,
    .TBook_Button_Green {
        width: 100%;
        min-height: 52px;
        font-size: 1.125rem;
    }
    
    /* Checkboxes más grandes */
    input[type="checkbox"],
    input[type="radio"] {
        width: 24px;
        height: 24px;
        min-width: 24px;
        min-height: 24px;
    }
    
    input[type="checkbox"]:checked::before {
        font-size: 16px;
    }
    
    input[type="radio"]:checked::before {
        width: 12px;
        height: 12px;
    }
    
    /* Price box */
    .SBook_Price {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--space-2);
        padding: var(--space-3);
    }
    
    .SBook_Price label {
        font-size: 0.875rem;
    }
    
    .SBook_Price .price-value {
        font-size: 1.5rem;
    }
    
    /* Asientos seleccionados */
    .TBook_Seat_Holder {
        padding: 8px 12px;
        font-size: 0.9375rem;
        margin: 6px 8px 6px 0;
    }
    
    .TBook_Seat_Deselect {
        width: 26px;
        height: 26px;
        /* Siempre visible en móvil para facilitar el toque */
        opacity: 0.7;
        transform: scale(1);
    }
    
    .TBook_Seat_Holder:hover .TBook_Seat_Deselect {
        opacity: 1;
    }
    
    /* Coupon wrapper */
    .coupon-wrapper {
        flex-direction: column;
    }
    
    .coupon-wrapper button {
        min-height: 48px;
    }
    
    /* Overlay en móvil */
    .TBook_OverlayBox {
        max-width: 100vw;
        max-height: 100vh;
        border-radius: 0;
    }
    
    .TBook_OverlayBoxTop {
        height: 70px;
        padding: var(--space-3);
    }
    
    .TBook_OverlayBoxHead {
        padding: var(--space-3);
        font-size: 0.875rem;
    }
    
    .TBook_OverlayBoxBottom {
        padding: var(--space-3);
    }
    
    /* Método de pago */
    .TBook_Middle form > p:has(img) {
        padding: var(--space-3);
        margin-left: calc(var(--space-4) * -1);
        margin-right: calc(var(--space-4) * -1);
    }
    
    .TBook_Middle form > p img {
        max-width: 160px;
    }
}

/* =====================================================
   RESPONSIVE PARA MÓVILES PEQUEÑOS (<400px)
===================================================== */

@media (max-width: 400px) {
    .SBook_Form {
        font-size: 16px;
    }
    
    .progressbar li {
        font-size: 0.75rem;
    }
    
    .progressbar li::before {
        width: 32px;
        height: 32px;
        line-height: 32px;
        font-size: 0.8125rem;
    }
    
    .summary-total {
        font-size: 2rem !important;
        padding: var(--space-4) !important;
    }
    
    .SBook_Info strong {
        font-size: 0.9375rem;
        padding: 6px 12px;
    }
    
    .TBook_Button,
    .TBook_Button_Green {
        padding: 14px 24px;
        font-size: 1rem;
    }
}

/* =====================================================
   OPTIMIZACIONES TÁCTILES
===================================================== */

/* Aumentar área táctil de elementos interactivos */
@media (max-width: 768px) {
    /* Padding para hacer elementos más fáciles de tocar */
    a, button, input[type="submit"], input[type="button"],
    .TBook_Seat_Deselect, .seat, .sbook-rect {
        min-height: 44px;
        min-width: 44px;
    }
    
    /* Espaciado entre elementos táctiles */
    .TBook_Middle form > p {
        padding: var(--space-4) 0;
    }
    
    /* Evitar zoom en inputs en iOS */
    select,
    textarea,
    input[type="text"],
    input[type="password"],
    input[type="datetime"],
    input[type="datetime-local"],
    input[type="date"],
    input[type="month"],
    input[type="time"],
    input[type="week"],
    input[type="number"],
    input[type="email"],
    input[type="url"],
    input[type="search"],
    input[type="tel"],
    input[type="color"] {
        font-size: 16px !important; /* Mínimo 16px evita zoom en iOS */
    }
}

/* =====================================================
   MÓVIL - CORRECCIONES ESPECÍFICAS POR PANTALLA
===================================================== */

@media (max-width: 768px) {
    
    /* =====================================================
       BOOKING FORM (Primera pantalla - formulario)
    ===================================================== */
    
    /* Formulario más grande */
    .SBook_Form {
        padding: var(--space-4);
        font-size: 1.0625rem; /* 17px */
    }
    
    .SBook_Form p {
        margin-bottom: var(--space-4);
    }
    
    /* Labels más grandes */
    .SBook_Form label {
        font-size: 1rem;
        font-weight: 600;
        margin-bottom: var(--space-2);
        display: block;
    }
    
    /* Inputs del formulario MÁS GRANDES */
    .SBook_Form .SBook_Field,
    .SBook_Form input[type="text"],
    .SBook_Form input[type="email"],
    .SBook_Form input[type="tel"],
    .SBook_Form input[type="number"],
    .SBook_Form textarea,
    .SBook_Form select {
        width: 100%;
        padding: 16px 18px !important;
        font-size: 1.0625rem !important; /* 17px */
        border-radius: var(--radius-lg);
        min-height: 52px;
    }
    
    /* Textarea más alto */
    .SBook_Form textarea {
        min-height: 120px;
    }
    
    /* Select más grande */
    .SBook_Form select {
        padding: 16px 18px !important;
        font-size: 1.0625rem !important;
        min-height: 52px;
    }
    
    /* Floating labels ajustados */
    .form-group label {
        font-size: 1rem;
    }
    
    .form-group input:focus + label,
    .form-group input:not(:placeholder-shown) + label {
        font-size: 0.875rem;
    }
    
    /* =====================================================
       BOTONES DE CONFIRMAR - MÁS GRANDES
    ===================================================== */
    
    /* Todos los botones de acción */
    .SBook_Event_Button,
    .TBook_Button,
    .TBook_Button_Green {
        width: 100% !important;
        padding: 18px 32px !important;
        font-size: 1.125rem !important; /* 18px */
        min-height: 56px !important;
        border-radius: var(--radius-xl);
        font-weight: 700;
    }
    
    /* Icono más visible */
    .TBook_Button_Green::before,
    .SBook_Event_Button::before {
        font-size: 1.25rem;
    }
    
    /* Botón secundario también grande */
    .TBook_Button {
        min-height: 52px !important;
        font-size: 1.0625rem !important;
        padding: 16px 28px !important;
    }
    
    /* =====================================================
       BOOKING SUMMARY - Filas de precio más grandes
    ===================================================== */
    
    /* TBook_Row - Filas de precios */
    .TBook_Row {
        padding: var(--space-4) var(--space-3) !important;
        margin-left: calc(var(--space-4) * -1) !important;
        margin-right: calc(var(--space-4) * -1) !important;
        margin-bottom: var(--space-2);
    }
    
    .TBook_Row label.title {
        font-size: 0.9375rem !important; /* 15px */
        font-weight: 700;
        margin-bottom: var(--space-1);
    }
    
    /* Valores de precio más grandes */
    .TBook_Row:not(.summary-total) {
        font-size: 1.125rem !important; /* 18px */
        font-weight: 600;
    }
    
    /* Todas las filas del resumen */
    .TBook_Middle form > p {
        grid-template-columns: 1fr;
        gap: var(--space-2);
        padding: var(--space-4) 0 !important;
        font-size: 1.0625rem; /* 17px */
    }
    
    .TBook_Middle form > p:hover {
        padding-left: var(--space-3) !important;
        padding-right: var(--space-3) !important;
    }
    
    /* Labels del resumen */
    .TBook_Middle label.title {
        font-size: 0.9375rem !important; /* 15px */
        margin-bottom: var(--space-2);
        display: block;
    }
    
    /* Valores del resumen */
    .TBook_Middle p span,
    .TBook_Middle p:not(:has(label.title)) {
        font-size: 1.125rem !important; /* 18px */
        font-weight: 600;
    }
    
    /* Total GIGANTE en móvil */
    .summary-total {
        font-size: 2.5rem !important; /* 40px */
        padding: var(--space-6) var(--space-4) !important;
        margin: var(--space-6) calc(var(--space-4) * -1) !important;
    }
    
    .summary-total label.title {
        font-size: 1rem !important; /* 16px */
        margin-bottom: var(--space-3);
    }
    
    /* =====================================================
       PRICE BOX - Caja de precios
    ===================================================== */
    
    .SBook_PriceBox {
        padding: var(--space-4);
        margin-bottom: var(--space-4);
    }
    
    .SBook_Price {
        padding: var(--space-4);
        margin-bottom: var(--space-3);
        font-size: 1.0625rem;
    }
    
    .SBook_Price label {
        font-size: 1rem;
        font-weight: 600;
    }
    
    .SBook_Price .price-value {
        font-size: 1.75rem; /* 28px */
        font-weight: 800;
    }
    
    /* =====================================================
       INFO BOX - Mensaje de información
    ===================================================== */
    
    .SBook_Info {
        padding: var(--space-4) var(--space-4);
        font-size: 1rem; /* 16px */
        line-height: 1.6;
    }
    
    .SBook_Info strong {
        font-size: 1.125rem !important; /* 18px */
        padding: 10px 18px;
    }
    
    #timer {
        font-size: 1.25rem !important; /* 20px */
    }
    
    /* =====================================================
       ASIENTOS SELECCIONADOS
    ===================================================== */
    
    .TBook_Seat_Holder {
        padding: 10px 14px;
        font-size: 1rem; /* 16px */
        margin: 6px 8px 6px 0;
    }
    
    .TBook_Seat {
        font-size: 1rem;
        font-weight: 600;
    }
    
    .TBook_Seat_Price {
        font-size: 1rem;
        font-weight: 700;
    }
    
    .TBook_Seat_Deselect {
        width: 28px;
        height: 28px;
        opacity: 1; /* Siempre visible en móvil */
    }
    
    /* =====================================================
       CONTENEDORES
    ===================================================== */
    
    .TBook_W_Top {
        padding: var(--space-6);
        font-size: 1.125rem;
    }
    
    .TBook_Middle {
        padding: var(--space-6) var(--space-4);
    }
    
    .TBook_Middle form {
        padding: var(--space-4) var(--space-3);
    }
    
    /* =====================================================
       MÉTODO DE PAGO
    ===================================================== */
    
    .TBook_Middle form > p:has(img) {
        padding: var(--space-4);
        margin-left: calc(var(--space-4) * -1);
        margin-right: calc(var(--space-4) * -1);
    }
    
    .TBook_Middle form > p img {
        max-width: 180px;
    }
}

/* =====================================================
   MÓVILES MUY PEQUEÑOS (<400px)
===================================================== */

@media (max-width: 400px) {
    
    /* Formulario */
    .SBook_Form {
        font-size: 1rem;
        padding: var(--space-3);
    }
    
    .SBook_Form .SBook_Field,
    .SBook_Form input,
    .SBook_Form textarea,
    .SBook_Form select {
        padding: 14px 16px !important;
        font-size: 1rem !important;
        min-height: 48px;
    }
    
    /* Botones */
    .SBook_Event_Button,
    .TBook_Button_Green,
    .TBook_Button {
        padding: 16px 24px !important;
        font-size: 1.0625rem !important;
        min-height: 52px !important;
    }
    
    /* Filas de precio */
    .TBook_Row {
        padding: var(--space-3) var(--space-2) !important;
    }
    
    .TBook_Row label.title {
        font-size: 0.875rem !important;
    }
    
    .TBook_Row:not(.summary-total) {
        font-size: 1.0625rem !important;
    }
    
    /* Total */
    .summary-total {
        font-size: 2rem !important;
        padding: var(--space-5) var(--space-3) !important;
    }
    
    .summary-total label.title {
        font-size: 0.875rem !important;
    }
    
    /* Info box */
    .SBook_Info {
        padding: var(--space-3);
        font-size: 0.9375rem;
    }
    
    .SBook_Info strong {
        font-size: 1rem !important;
        padding: 8px 14px;
    }
    
    #timer {
        font-size: 1.125rem !important;
    }
    
    /* Resumen */
    .TBook_Middle form > p {
        padding: var(--space-3) 0 !important;
        font-size: 1rem;
    }
    
    .TBook_Middle label.title {
        font-size: 0.875rem !important;
    }
    
    .TBook_Middle p span,
    .TBook_Middle p:not(:has(label.title)) {
        font-size: 1.0625rem !important;
    }
}

/* =====================================================
   LANDSCAPE MODE EN MÓVIL
===================================================== */

@media (max-width: 768px) and (orientation: landscape) {
    
    /* Reducir espaciado vertical en landscape */
    .progressbar {
        margin: var(--space-4) 0 var(--space-6);
    }
    
    .SBook_Form .SBook_Field,
    .SBook_Form input,
    .SBook_Form textarea,
    .SBook_Form select {
        min-height: 48px;
        padding: 14px 16px !important;
    }
    
    .SBook_Event_Button,
    .TBook_Button_Green,
    .TBook_Button {
        min-height: 48px !important;
        padding: 14px 28px !important;
    }
    
    .SBook_Info {
        padding: var(--space-3) var(--space-4);
    }
    
    .summary-total {
        font-size: 2rem !important;
        padding: var(--space-4) !important;
    }
}