.materia-card { transition: all 0.2s ease-in-out; }
.materia-card:hover { transform: translateY(-2px); box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06); }
/* Scrollbars visibles y estilizados */
.hide-scroll::-webkit-scrollbar { height: 8px; width: 8px; }
.hide-scroll::-webkit-scrollbar-track { background: #f1f1f1; border-radius: 4px; }
.hide-scroll::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 4px; }
.hide-scroll::-webkit-scrollbar-thumb:hover { background: #94a3b8; }
#progress-bar { transition: width 0.5s ease-out; }

.survey-input {
    width: 100%; padding: 0.75rem; border: 2px solid #cbd5e1; border-radius: 0.5rem;
    outline: none; transition: all 0.3s ease; background-color: #ffffff; color: #1e293b;
    font-size: 1rem;
}
.survey-input:focus { 
    border-color: #1e3a8a; 
    box-shadow: 0 0 0 3px rgba(30, 58, 138, 0.1);
    background-color: #f8faff;
}
.survey-input:invalid { border-color: #ef4444; }
#input-registro.invalid { 
    border-color: #ef4444; 
    background-color: #fef2f2;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}
.view-container { -webkit-overflow-scrolling: touch; }

.fade-in { animation: fadeIn 0.3s ease-in; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

/* Animaciones para el modal de registro duplicado */
@keyframes slideInScale {
    from {
        opacity: 0;
        transform: scale(0.8) translateY(-20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.animate-in {
    animation: slideInScale 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.animate-pulse-subtle {
    animation: pulseSoft 2s ease-in-out infinite;
}

@keyframes pulseSoft {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.98;
    }
}

/* Cursor personalizado para indicar que se puede arrastrar */
.cursor-grab { cursor: grab; }
.cursor-grabbing { cursor: grabbing; }
