/* ux-guide.css - Versión completa y definitiva */

/* Efecto de highlight/pulso para elementos guía */
.highlight-pulse {
    position: relative;
    animation: highlightPulse 2s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

@keyframes highlightPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(26,35,126,0.4);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(26,35,126,0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(26,35,126,0);
    }
}

/* Estilos para inputs */
.input-field {
    position: relative;
}

.input-field input {
    border: 2px solid transparent;
    border-bottom: 2px solid #e0e0e0;
    padding: 0.5rem;
    transition: all 0.3s ease;
    background: transparent;
    width: 100%;
}

.input-field input:focus {
    outline: none;
    border-color: #1a237e;
    box-shadow: 0 0 0 2px rgba(26,35,126,0.2);
}

/* Estilos del botón de inicio */
#startButton {
    position: relative;
    z-index: 10;
    transition: all 0.3s ease;
}

#startButton:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(26,35,126,0.2);
}

#startButton:active {
    transform: translateY(0);
}

/* Efecto de focus visible accesible */
.input-field input:focus-visible,
#startButton:focus-visible {
    outline: 2px solid #1a237e;
    outline-offset: 2px;
}

/* Animación de entrada para elementos */
.fade-in {
    opacity: 0;
    transform: translateY(10px);
    animation: fadeIn 0.5s ease forwards;
}

@keyframes fadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Asegurar que los elementos interactivos son clickeables */
.input-field,
#startButton,
.highlight-pulse {
    cursor: pointer;
}

/* Mejoras de accesibilidad */
@media (prefers-reduced-motion: reduce) {
    .highlight-pulse {
        animation: none;
    }
    
    #startButton:hover {
        transform: none;
    }
}

/* Ajustes para dispositivos móviles */
@media (max-width: 768px) {
    .input-field input {
        font-size: 16px; /* Prevenir zoom en iOS */
        padding: 0.75rem;
    }
    
    #startButton {
        padding: 1rem;
        width: 100%;
    }
    
    .highlight-pulse {
        animation: highlightPulse 2s ease infinite;
    }
}

/* Eliminar estilos antiguos que ya no se usan */
.guide-tooltip,
.guide-tooltip-content,
.guide-tooltip-arrow {
    display: none !important;
}