﻿body {
    font-family: 'Inter', sans-serif;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f5f9;
}

::-webkit-scrollbar-thumb {
    background: #442c55;
    border-radius: 10px;
}

    ::-webkit-scrollbar-thumb:hover {
        background: #5a406b;
    }

/* Animation for carousel slides */
.carousel-slide {
    transition: opacity 0.5s ease-in-out, transform 0.5s ease-in-out;
}

.slide-hidden {
    opacity: 0;
    transform: scale(0.98);
    position: absolute;
    pointer-events: none;
    width: 100%;
}

.slide-visible {
    opacity: 1;
    transform: scale(1);
    position: relative;
}

/* Custom selection styles */
.selected-item {
    background-color: #21cd9f !important;
    border-color: #a3e635 !important;
    color: white !important;
    box-shadow: 0 0 12px rgba(163, 230, 53, 0.8); /* Neon glow */
}

    .selected-item span, .selected-item h3, .selected-item p {
        color: white !important;
    }

    .selected-item svg {
        stroke: white !important;
        color: white !important;
    }

/* ID Capture placeholder styles */
.id-capture-frame, .location-preview-frame {
    border: 3px dashed #cbd5e1;
    background-color: #f8fafc;
}

/* Face Scan guide */
.face-scan-guide {
    border: 5px solid white;
    box-shadow: 0 0 0 9999px rgba(0,0,0,0.6);
}

/* Spinning loader for progress */
@keyframes spin {
    to {
        transform: rotate(3deg);
    }
}

.spinner {
    animation: spin 1s linear infinite alternate;
}

/* New spinner animation */
@keyframes spinner-rotate {
    to {
        transform: rotate(360deg);
    }
}

.spinner-new {
    animation: spinner-rotate 1.2s linear infinite;
}

@keyframes pulse-bg {
    0%, 100% {
        background-color: rgba(255, 255, 255, 0.8);
    }

    50% {
        background-color: rgba(241, 245, 249, 0.9);
    }
}

#submission-progress {
    animation: pulse-bg 2s infinite ease-in-out;
}

/* Input validation error style */
.input-error {
    border-color: #ef4444;
    box-shadow: 0 0 0 2px rgba(239, 68, 68, 0.3);
}
