html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    -webkit-font-smoothing: antialiased;
}

::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-track {
    background: #f8fafc;
}

::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 999px;
}

::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

@keyframes toast-entrada {
    from {
        opacity: 0;
        transform: translateY(16px) scale(0.96);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.toast-item {
    animation: toast-entrada 0.25s ease-out;
}

@keyframes desvanecer-arriba {
    from {
        opacity: 0;
        transform: translateY(12px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animar-entrada {
    animation: desvanecer-arriba 0.5s ease-out both;
}

.spinner {
    border: 3px solid rgba(255, 255, 255, 0.35);
    border-top-color: #ffffff;
    border-radius: 50%;
    width: 1.1rem;
    height: 1.1rem;
    animation: girar 0.7s linear infinite;
}

@keyframes girar {
    to {
        transform: rotate(360deg);
    }
}

#lector-qr video {
    border-radius: 1rem;
    object-fit: cover;
}

.qr-contenedor canvas {
    border-radius: 0.75rem;
}
