﻿/* Full page overlay */
.loader-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255,255,255,0.8); /* semi-transparent white */
    z-index: 9999;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

/* Spinner animation */
.loader {
    display: inline-block;
    position: relative;
    width: 80px;
    height: 80px;
}

    .loader div {
        position: absolute;
        border: 4px solid #007bff;
        opacity: 1;
        border-radius: 50%;
        animation: loader-animation 1s cubic-bezier(0, 0.2, 0.8, 1) infinite;
    }

        .loader div:nth-child(2) {
            animation-delay: -0.5s;
        }

@keyframes loader-animation {
    0% {
        top: 36px;
        left: 36px;
        width: 0;
        height: 0;
        opacity: 1;
    }

    100% {
        top: 0px;
        left: 0px;
        width: 72px;
        height: 72px;
        opacity: 0;
    }
}

/* Text below loader */
.loader-text {
    margin-top: 15px;
    font-size: 16px;
    font-weight: 500;
    color: #007bff;
}

.dropdown-wrapper {
    display: flex;
    flex-direction: column;
    max-height: 200px;
    overflow: hidden;
}

#dropdownSearch {
    border-bottom: 1px solid ;
    border-radius: 0;
    padding: 8px 10px;
}

#emailSelect {
    flex: 1;
    width: 100%;
    overflow-y: auto;
    border: none;
    outline: none;
    padding: 4px;
}

    #emailSelect option {
        padding: 6px;
    }

        #emailSelect option:hover {
            background-color: #E0E0E0;
            cursor:pointer;
            color:#333;
        }