/* Base styles for the body */
body {
    font-family: 'Inter', sans-serif;
    background-color: #F3F4F6;
    /* Light gray background */
}

/* Custom scrollbar for better aesthetics */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-thumb {
    background: #D1D5DB;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #9CA3AF;
}

/* Hide the default radio button circle */
input[type="radio"] {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    display: inline-block;
    width: 1.5rem;
    /* 24px */
    height: 1.5rem;
    /* 24px */
    border-radius: 9999px;
    /* Full circle */
    border: 2px solid #9CA3AF;
    /* Default border color */
    margin-right: 0.5rem;
    flex-shrink: 0;
    transition: all 0.2s;
}

/* Style for checked radio button */
input[type="radio"]:checked {
    border-color: #10B981;
    /* Primary color when checked */
    background-color: #10B981;
    box-shadow: 0 0 0 3px #D1FAE5;
    /* Light halo effect */
}

/* Styles for the option container when selected */
.option-selected {
    border-color: #10B981;
    background-color: #F0FFF4;
    /* Very light green background */
}

/* Custom animation for low time alert */
@keyframes pulse-secondary {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

.animate-pulse {
    animation: pulse-secondary 1s ease-in-out infinite;
}

/* Loading Overlay Styles */
#loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.9);
    z-index: 50;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.spinner {
    border: 4px solid #f3f3f3;
    border-top: 4px solid #10B981;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}