/* Custom Background Utilities & Animations */
.glass-card {
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
}

/* Animations */
.fade-in {
    animation: fadeIn 0.6s ease forwards;
}

.bounce-in {
    animation: bounceIn 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55) forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

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

@keyframes bounceIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Status Messages & Pulse Overrides */
.pulse-text {
    animation: pulseText 2s infinite;
}

@keyframes pulseText {
    0% {
        opacity: 0.6;
    }

    50% {
        opacity: 1;
    }

    100% {
        opacity: 0.6;
    }
}

.status-message {
    transition: all 0.3s ease;
}

.status-success {
    background-color: #f0fdf4;
    color: #15803d;
    border: 1px solid #bbf7d0;
}

.status-error {
    background-color: #fef2f2;
    color: #b91c1c;
    border: 1px solid #fecaca;
}

/* Base resets handled by Tailwind */
html,
body {
    margin: 0;
    padding: 0;
    width: 100%;
}

.hidden {
    display: none !important;
}

#qr-reader {
    border: none !important;
}

#qr-reader__scan_region img {
    opacity: 0.3;
}

#qr-reader__dashboard_section_csr span {
    color: white !important;
}