/* CORRECCIONES VISUALES FORZADAS - Aplicar con !important */

/* Centrar el wizard con margen y sombra */
.ex180b-wizard {
    max-width: 900px !important;
    margin: 40px auto !important;
    padding: 0 !important;
    background: #ffffff !important;
    border-radius: 12px !important;
    box-shadow: 0 2px 20px rgba(0,0,0,0.08) !important;
    overflow: hidden !important;
}

/* Barra de progreso con border-radius superior */
.ex180b-progress {
    background: #f8f9fa !important;
    height: 60px !important;
    margin-bottom: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-bottom: 1px solid #e9ecef !important;
    border-radius: 12px 12px 0 0 !important;
    padding: 0 20px !important;
    position: relative !important;
}

/* Pasos de progreso horizontales */
.ex180b-progress-steps {
    display: flex !important;
    align-items: center !important;
    gap: 15px !important;
    width: 100% !important;
    max-width: 700px !important;
    justify-content: space-between !important;
    position: relative !important;
}

.ex180b-progress-step {
    display: inline-flex !important;
    align-items: center !important;
    color: #6c757d !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    white-space: nowrap !important;
    position: relative !important;
    z-index: 2 !important;
}

.ex180b-progress-step.active {
    color: #198754 !important;
    font-weight: 600 !important;
}

.ex180b-progress-step.completed {
    color: #198754 !important;
}

/* Líneas conectoras entre pasos */
.ex180b-progress-step::after {
    content: '' !important;
    position: absolute !important;
    top: 50% !important;
    left: calc(100% + 5px) !important;
    width: 40px !important;
    height: 2px !important;
    background: #e9ecef !important;
    transform: translateY(-50%) !important;
    z-index: 1 !important;
}

.ex180b-progress-step:last-child::after {
    display: none !important;
}

.ex180b-progress-step.active::after,
.ex180b-progress-step.completed::after {
    background: #198754 !important;
}

/* Responsive */
@media (max-width: 768px) {
    .ex180b-wizard {
        margin: 20px 10px !important;
        border-radius: 8px !important;
    }
    
    .ex180b-progress {
        height: auto !important;
        padding: 15px 10px !important;
    }
    
    .ex180b-progress-steps {
        gap: 8px !important;
    }
    
    .ex180b-progress-step {
        font-size: 11px !important;
    }
    
    .ex180b-progress-step::after {
        width: 20px !important;
    }
}

/* Estilos para paso de pago mejorado */
.ex180b-payment-free,
.ex180b-payment-bono,
.ex180b-payment-options {
    text-align: center;
    padding: 30px 20px;
}

.ex180b-payment-free-badge,
.ex180b-bono-badge {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 25px;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 20px;
}

.ex180b-payment-free-badge {
    background: #198754;
    color: white;
}

.ex180b-bono-badge {
    background: #0dcaf0;
    color: white;
}

.ex180b-bono-remaining {
    font-size: 18px;
    color: #212529;
    margin: 15px 0;
}

.ex180b-bono-remaining strong {
    font-size: 24px;
    color: #0dcaf0;
}

.ex180b-payment-method {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 20px;
    margin: 15px 0;
    text-align: left;
}

.ex180b-payment-method h4 {
    margin: 0 0 15px 0;
    font-size: 18px;
    color: #212529;
}

.ex180b-payment-button {
    margin-top: 15px;
}

.ex180b-payment-warning {
    background: #fff3cd;
    border: 1px solid #ffc107;
    border-radius: 8px;
    padding: 20px;
    color: #664d03;
}

.ex180b-custom-message {
    background: #e7f3ff;
    border-left: 4px solid #0d6efd;
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 4px;
    font-size: 16px;
    line-height: 1.6;
}

.ex180b-custom-message p {
    margin: 0;
}

#ex180b-payment-buttons {
    margin-top: 20px;
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

#ex180b-payment-buttons .ex180b-btn {
    min-width: 200px;
}

@media (max-width: 768px) {
    #ex180b-payment-buttons {
        flex-direction: column;
    }
    
    #ex180b-payment-buttons .ex180b-btn {
        width: 100%;
    }
}

/* Scroll horizontal para horarios disponibles */
.ex180b-time-slots {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    gap: 10px !important;
    padding: 15px 5px !important;
    scroll-behavior: smooth !important;
    -webkit-overflow-scrolling: touch !important;
}

.ex180b-time-slots::-webkit-scrollbar {
    height: 8px !important;
}

.ex180b-time-slots::-webkit-scrollbar-track {
    background: #f1f1f1 !important;
    border-radius: 10px !important;
}

.ex180b-time-slots::-webkit-scrollbar-thumb {
    background: #888 !important;
    border-radius: 10px !important;
}

.ex180b-time-slots::-webkit-scrollbar-thumb:hover {
    background: #555 !important;
}

.ex180b-time-slot {
    flex-shrink: 0 !important;
    min-width: 80px !important;
}

/* Indicador visual de más contenido */
#ex180b-time-slots-container::after {
    content: "← Desliza para ver más horas →";
    display: block;
    text-align: center;
    font-size: 12px;
    color: #666;
    margin-top: 10px;
    font-style: italic;
}

@media (max-width: 768px) {
    .ex180b-time-slot {
        min-width: 70px !important;
        font-size: 13px !important;
    }
}
