﻿/* Mobile-friendly dropdown styles */
.choices {
    position: relative !important;
}

.choices__list--dropdown {
    position: absolute !important;
    top: 100% !important;
    bottom: auto !important;
    z-index: 1050 !important;
    max-height: 300px !important;
    overflow-y: auto !important;
}

/* Ensure dropdowns don't go upward on mobile */
@media (max-width: 768px) {
    .choices__list--dropdown {
        position: absolute !important;
        top: 100% !important;
        bottom: auto !important;
        transform: none !important;
        max-height: 250px !important;
    }

    .filler-job-form {
        margin-bottom: 10px;
    }

    .choices__inner {
        min-height: 44px; /* Better touch target for mobile */
    }
}

/* Loading indicator */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.8);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.spinner {
    border: 4px solid #f3f3f3;
    border-top: 4px solid #3498db;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}
