/* Estilos adicionales para UX mejorada */

/* Estilos para barra de progreso mejorada */
#progress-bar-container {
    position: sticky;
    top: 0;
    background: rgba(50, 30, 20, 0.95);
    padding: 1rem 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    margin-bottom: 2rem;
}

#progress-bar {
    height: 4px;
    background: linear-gradient(to right, #c8a875, #e4d5c7);
    width: 0%;
    transition: width 0.5s ease;
    border-radius: 2px;
}

#progress-steps {
    display: flex;
    justify-content: space-between;
    max-width: 800px;
    margin: 1rem auto 0;
    padding: 0 2rem;
}

.progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    opacity: 0.5;
    transition: all 0.3s ease;
    flex: 1;
}

.progress-step.active {
    opacity: 1;
}

.progress-step.completed {
    opacity: 1;
}

.step-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(90, 62, 43, 0.8);
    border: 2px solid #c8a875;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: #c8a875;
    margin-bottom: 0.5rem;
    transition: all 0.3s ease;
}

.progress-step.active .step-circle {
    background: #c8a875;
    color: #2c1810;
    transform: scale(1.1);
    box-shadow: 0 0 15px rgba(200, 168, 117, 0.5);
}

.progress-step.completed .step-circle {
    background: #5a8c3e;
    border-color: #7ab54f;
}

.progress-step span {
    font-size: 0.85rem;
    text-align: center;
    color: #e4d5c7;
}

/* Botón volver mejorado */
.btn-back {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 200px;
    margin: 2rem auto 1rem;
    padding: 0.8rem 1.5rem;
    background: rgba(60, 40, 30, 0.8);
    color: #c8a875;
    border: 2px solid #c8a875;
    border-radius: 25px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-back:hover {
    background: rgba(90, 62, 43, 0.9);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(200, 168, 117, 0.3);
}

.btn-back i {
    margin-right: 8px;
}

/* Animaciones suaves entre pasos */
.step {
    animation: slideIn 0.5s ease-out;
}

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

/* Mejora visual para opciones seleccionadas */
.option-btn.selected,
.tono-btn.selected {
    transform: scale(1.02);
    box-shadow: 0 0 25px rgba(200, 168, 117, 0.6);
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 25px rgba(200, 168, 117, 0.6);
    }
    50% {
        box-shadow: 0 0 35px rgba(200, 168, 117, 0.8);
    }
    100% {
        box-shadow: 0 0 25px rgba(200, 168, 117, 0.6);
    }
}

/* Tooltips informativos */
.info-tooltip {
    position: relative;
    display: inline-block;
    cursor: help;
}

.info-tooltip:hover::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(40, 25, 15, 0.95);
    color: #e4d5c7;
    padding: 0.8rem;
    border-radius: 8px;
    font-size: 0.9rem;
    white-space: nowrap;
    z-index: 1000;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
}

/* Mobile improvements */
@media (max-width: 768px) {
    #progress-steps {
        padding: 0 0.5rem;
    }
    
    .progress-step span {
        font-size: 0.7rem;
    }
    
    .step-circle {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }
    
    .btn-back {
        width: 150px;
        font-size: 0.9rem;
        padding: 0.7rem 1rem;
    }
}
