  #formTailored {
        display:none;
    }
    #tailoredForm {
        display: flex;
        flex-direction: column;
        margin: 0 auto;
        width: 95vw;
        max-width: 100%;
        padding: 0;
    }
    /* Modern Gender Selection Styles */
    .gender-selection-container {
        margin-bottom: 1.5rem;
    }

    .gender-label {
        display: block;
        font-size: 14px;
        font-weight: 600;
        color: #374151;
        margin-bottom: 12px;
    }

    .gender-options {
        display: flex;
        gap: 16px;
    }

    .gender-option {
        flex: 1;
        cursor: pointer;
    }

    .gender-option input[type="radio"] {
        display: none;
    }

    .gender-card {
        width: 100%;
        padding: 20px;
        text-align: center;
        border: 2px solid transparent;
        border-radius: 16px;
        transition: all 0.3s ease;
        font-weight: 500;
        position: relative;
        overflow: hidden;
    }

    .gender-card:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    }

    .gender-card.male {
        background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
        color: #64748b;
        border-color: #e2e8f0;
    }

    .gender-card.female {
        background: linear-gradient(135deg, #fefcfe 0%, #fdf2f8 100%);
        color: #64748b;
        border-color: #f1e8f3;
    }

    .gender-option input[type="radio"]:checked + .gender-card.male {
        background: linear-gradient(135deg, #1976d2 0%, #42a5f5 100%);
        color: #ffffff;
        border-color: #1976d2;
        box-shadow: 0 8px 30px rgba(25, 118, 210, 0.4);
        transform: translateY(-3px);
    }

    .gender-option input[type="radio"]:checked + .gender-card.female {
        background: linear-gradient(135deg, #e91e63 0%, #f06292 100%);
        color: #ffffff;
        border-color: #e91e63;
        box-shadow: 0 8px 30px rgba(233, 30, 99, 0.4);
        transform: translateY(-3px);
    }

    .gender-content {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        position: relative;
        z-index: 2;
    }

    .gender-icon {
        width: 24px;
        height: 24px;
        stroke-width: 2;
        transition: all 0.3s ease;
    }

    /* Validation Error Styles */
    .error-border {
        border-color: #ef4444 !important;
        box-shadow: 0 0 0 1px #ef4444 !important;
    }

    .field-error {
        color: #ef4444;
        font-size: 0.875rem;
        margin-top: 0.25rem;
        font-weight: 500;
    }

    /* Responsive design for mobile */
    @media (max-width: 480px) {
        .gender-options {
            flex-direction: column;
            gap: 12px;
        }

        .gender-card {
            padding: 14px;
        }
    }

    /* Traveler Section Styles */
    .traveler-title {
        margin-bottom: 1rem;
        padding-bottom: 0.5rem;
        border-bottom: 1px solid #d1d5db;
    }

    .traveler-title h3 {
        font-size: 1.125rem;
        font-weight: 600;
        color: #374151;
        display: flex;
        align-items: center;
        gap: 0.5rem;
    }

    .traveler-title svg {
        width: 1.25rem;
        height: 1.25rem;
        color: #2563eb;
    }

    .traveler-title p {
        font-size: 0.875rem;
        color: #6b7280;
        margin-top: 0.25rem;
        margin-bottom: 0;
    }

    .traveler-container {
        padding: 1rem;
        border-radius: 1rem;
        background-color: #f5f5f5;
        margin-bottom: 1rem;
        position: relative;
    }

    /* Travelers section styles */
    #travelers .bg-neutral-100 {
        background-color: #f5f5f5;
        border-radius: 1rem;
        padding: 1rem;
        margin-bottom: 1rem;
        position: relative;
    }
    #travelers .bg-neutral-100 button {
        background-color: #ef4444;
        color: white;
        border: none;
        border-radius: 1rem;
        padding: 0.5rem 1rem;
        cursor: pointer;
        font-size: 0.875rem;
        margin-top: 1rem;
        transition: background-color 0.2s;
    }
    #travelers .bg-neutral-100 button:hover {
        background-color: #dc2626;
    }
    #add-traveler {
        margin-bottom: 1.5rem;
    }
    
    /* Ultra Fast Plan Styles */
    .ultra-fast-card {
        background-color: white;
        border: 2px solid #e5e7eb;
        border-radius: 12px;
        overflow: hidden;
        cursor: pointer;
        transition: all 0.3s ease;
        margin-bottom: 16px;
    }
    
    .ultra-fast-card:hover {
        border-color: #93c5fd;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    }
    
    .ultra-fast-card.selected-plan {
        border-color: #3b82f6;
        background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
        box-shadow: 0 8px 25px rgba(59, 130, 246, 0.15);
        transform: translateY(-2px);
    }
    
    .ultra-fast-content {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 20px 24px;
    }
    
    .ultra-fast-left {
        display: flex;
        align-items: center;
        gap: 16px;
    }
    
    .ultra-fast-checkbox {
        width: 24px;
        height: 24px;
        border-radius: 50%;
        border: 2px solid #9ca3af;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: all 0.2s ease;
        flex-shrink: 0;
    }
    
    .ultra-fast-card.selected-plan .ultra-fast-checkbox {
        border-color: #3b82f6;
        background-color: #3b82f6;
    }
    
    .ultra-fast-check {
        width: 12px;
        height: 12px;
        border-radius: 50%;
        background-color: white;
        opacity: 0;
        transition: opacity 0.2s ease;
    }
    
    .ultra-fast-card.selected-plan .ultra-fast-check {
        opacity: 1;
    }
    
    .ultra-fast-info h2 {
        font-size: 1.25rem;
        font-weight: 600;
        color: #1f2937;
        margin: 0 0 4px 0;
    }
    
    .ultra-fast-badge {
        display: inline-flex;
        align-items: center;
        padding: 4px 12px;
        border-radius: 20px;
        font-size: 0.75rem;
        font-weight: 500;
        background-color: #dbeafe;
        color: #1e40af;
        margin-top: 4px;
    }
    
    .ultra-fast-price {
        text-align: right;
    }
    
    .ultra-fast-price h2 {
        font-size: 1.5rem;
        font-weight: bold;
        color: #059669;
        margin: 0;
        transition: color 0.3s ease;
    }
    
    .ultra-fast-card.selected-plan .ultra-fast-price h2 {
        color: #3b82f6;
    }
    
    .ultra-fast-price p {
        font-size: 0.75rem;
        color: #6b7280;
        margin: 2px 0 0 0;
    }
    
    .payment-disclaimer {
        font-size: 0.875rem;
        color: #6b7280;
        text-align: center;
        margin-top: 16px;
    }
    
/* ≥ 640px (sm - tablets pequeñas) */
@media (max-width: 640px) {
    #tailoredForm {
        width: 85vw;
        padding: 0;
    }
    #parent-exp-cvv {
        flex-direction:column;
        min-height:121px;
    }
}
/* ≥ 768px (md - tablets grandes) */
@media (min-width: 768px) {
    #tailoredForm {
        width: 70vw;
        padding: 0;
    }
    #parent-exp-cvv {
        flex-direction:row;
        min-height:auto;
    }
}
/* ≥ 1024px (lg - portátiles medianos) */
@media (min-width: 1024px) {
    #tailoredForm {
        width: 60vw;
        padding: 0;
    }
    #parent-exp-cvv {
        flex-direction:row;
        min-height:auto;
    }
}
/* ≥ 1280px (xl - portátiles grandes o escritorio) */
@media (min-width: 1280px) {
    #tailoredForm {
        width: 50vw;
        padding: 0;
    }
    #parent-exp-cvv {
        flex-direction:row;
        min-height:auto;
    }
}
@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}
.spin-infinite {
  animation: spin 2s linear infinite;
}
#payButton {
    background-color: #00c951;
}
#payButton:hover {
    background-color: #00b84a;
}
#payButton:disabled {
    background-color: #ccc;
    cursor: not-allowed;
}



.step-current span:first-child {
  background-color: #A51931; /* green-700 #A51931 */
  color: white;
  font-weight: bold;
}


.error-message {
  color: red;
  font-size: 0.9em;
  margin-top: 4px;
}

 
input[type="radio"]:checked + .ultra-fast-info + .ultra-fast-price .ultra-fast-check {
  background-color: green; /* Example */
  
 
}

