/* Estilos adicionales del wizard */

.bixxus-wizard-container {
    width: 100%;
    font-family: 'Poppins', sans-serif;
}

/* Ocultar todos los pasos por defecto */
.bixxus-step {
    display: none;
}

/* Mostrar solo el paso activo */
.bixxus-step.active {
    display: block;
}

.bixxus-step-inner {
    background-color: #f9f9f9;
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    font-family: sans-serif;
    color: #444;
}

h2.bixxus-step-title {
    font-size: 1.4rem !important;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #333;
    text-align: center;
}

.bixxus-subtitle {
    font-size: 1.1rem;
    font-weight: 600 !important;
    margin-bottom: 0.5rem;
    color: #4f4f4f;
}

/* === BANNER DE HORARIO CERRADO === */
.bixxus-closed-banner {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    border-radius: 8px;
    padding: 15px 18px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    border-left: 4px solid #95a5a6;
}

.bixxus-closed-banner-content {
    display: flex;
    align-items: center;
    gap: 12px;
    color: white;
}

.bixxus-closed-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
    opacity: 0.9;
}

.bixxus-closed-text {
    flex: 1;
}

.bixxus-closed-text strong {
    display: block;
    font-size: 1rem;
    margin-bottom: 5px;
    color: #fff;
    font-weight: 600;
}

.bixxus-closed-text p {
    margin: 3px 0;
    font-size: 0.875rem;
    opacity: 0.9;
    line-height: 1.4;
}

.bixxus-next-opening {
    font-weight: 600;
    font-size: 0.9rem !important;
    margin-top: 8px !important;
    padding-top: 8px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    color: #ecf0f1 !important;
}

/* Botón deshabilitado por horario */
.bixxus-next.bixxus-closed {
    background: #ccc !important;
    cursor: not-allowed !important;
    opacity: 0.6;
}

.bixxus-next.bixxus-closed:hover {
    background: #ccc !important;
    transform: none !important;
}

/* === PASO 2: LOGIN === */
.bixxus-user-info {
    display: flex;
    align-items: center;
    gap: 20px;
    background: white;
    padding: 20px;
    border-radius: 12px;
    margin: 20px 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.bixxus-user-avatar img {
    border-radius: 50%;
    width: 80px;
    height: 80px;
}

.bixxus-user-details {
    flex: 1;
}

.bixxus-user-name {
    margin: 0 0 5px 0;
    font-size: 18px;
    color: #333;
}

.bixxus-user-email {
    margin: 0;
    font-size: 14px;
    color: #666;
}

.bixxus-login-info {
    background: #f0f8ff;
    border: 1px solid #d1e7ff;
    padding: 15px;
    border-radius: 8px;
    margin: 15px 0;
    text-align: center;
}

.bixxus-login-info p {
    margin: 0;
    color: #555;
    font-size: 15px;
}

.bixxus-login-btn {
    width: 100%;
    padding: 16px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 20px;
    background-color: #4a6ea9;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 4px 8px rgba(74, 110, 169, 0.3);
}

.bixxus-login-btn:hover {
    background-color: #3d5c8f;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(74, 110, 169, 0.4);
}

.bixxus-login-note {
    text-align: center;
    margin-top: 10px;
}

.bixxus-login-note small {
    color: #888;
    font-size: 13px;
}

.bixxus-back-btn {
    width: 100%;
    padding: 12px;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 15px;
    background-color: transparent;
    color: #666;
}

.bixxus-back-btn:hover {
    border-color: #ED6300;
    color: #ED6300;
    background-color: rgba(237, 99, 0, 0.05);
}

/* Botones */
.bixxus-btn,
.bixxus-next {
    width: 100%;
    padding: 16px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 32px;
    background-color: #ED6300;
    color: white;
    text-transform: uppercase;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.bixxus-btn:hover:not(:disabled),
.bixxus-next:hover:not(:disabled) {
    filter: brightness(1.08);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.18);
    transform: translateY(-1px);
}

.bixxus-btn:disabled {
    background-color: #E0E0E0;
    color: #A5A5A5;
    box-shadow: none;
    cursor: not-allowed;
    filter: none;
    transform: none;
}

/* Loading state */
.bixxus-btn.bixxus-loading,
.bixxus-next.bixxus-loading {
    position: relative;
    pointer-events: none;
}

.bixxus-btn.bixxus-loading::after,
.bixxus-next.bixxus-loading::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    top: 50%;
    left: 50%;
    margin-left: -10px;
    margin-top: -10px;
    border: 3px solid #ffffff;
    border-radius: 50%;
    border-top-color: transparent;
    animation: spinner 0.6s linear infinite;
}

@keyframes spinner {
    to { transform: rotate(360deg); }
}

/* === PASO 2: WALLET Y RED === */
.bixxus-summary-card {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 12px;
    padding: 16px 20px;
    margin-bottom: 24px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.bixxus-summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
}

.bixxus-summary-row:not(:last-child) {
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.bixxus-summary-label {
    font-size: 13px;
    color: #6B7280;
    font-weight: 400;
}

.bixxus-summary-value {
    font-size: 15px;
    color: #1B1B1B;
    font-weight: 600;
}

.bixxus-field-note {
    font-size: 12px;
    color: #6B7280;
    margin-top: 6px;
    margin-bottom: 16px;
    line-height: 1.4;
}

.bixxus-checkbox-container {
    margin: 20px 0;
}

.bixxus-checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-size: 14px;
    color: #4A5568;
}

.bixxus-checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: #ED6300;
}

.bixxus-navigation-buttons {
    display: flex;
    gap: 12px;
    margin-top: 24px;
}

.bixxus-back-btn {
    flex: 1;
    background: rgba(0, 0, 0, 0.04);
    color: #4A5568;
    border: 1px solid rgba(0, 0, 0, 0.1);
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 500;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: none;
}

.bixxus-back-btn:hover {
    background: rgba(0, 0, 0, 0.08);
    border-color: rgba(0, 0, 0, 0.15);
}

.bixxus-navigation-buttons .bixxus-next {
    flex: 2;
    margin-top: 0;
}

/* Responsive */
@media (max-width: 768px) {
    .bixxus-step-inner {
        padding: 1rem;
    }
    
    h2.bixxus-step-title {
        font-size: 1.2rem !important;
    }
    
    .bixxus-navigation-buttons {
        flex-direction: column;
        gap: 10px;
    }
    
    .bixxus-back-btn,
    .bixxus-navigation-buttons .bixxus-next {
        flex: 1;
        width: 100%;
    }
}
