﻿
#suggestions {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    border: 1px solid #ccc;
    border-top: none;
    background: #fff;
    max-height: 200px;
    overflow-y: auto;
    list-style: none;
    margin: 0;
    padding: 0;
    z-index: 1000;
}

    #suggestions li {
        padding: 8px;
        cursor: pointer;
        font-size: 14px;
        transition: background-color 0.2s ease, color 0.2s ease;
    }
        #suggestions li:hover {
            background-color: #066fd1;
            
        }


.autocomplete-containers {
    position: relative;
    overflow: visible; /* ensure dropdown isn't clipped */
}

#user-suggestions {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 3000; 
    background: #fff;
    border: 1px solid #ccc;
    border-radius: 4px;
    list-style: none;
    margin: 0;
    padding: 0;
    max-height: 200px;
    overflow-y: auto;
    display: none; /* toggled by JS */
}

    #user-suggestions li {
        padding: 8px 12px;
        cursor: pointer;
    }

        #user-suggestions li:hover {
            background-color: #066fd1;
        }

.permission-modal {
    display: none; 
    position: fixed; 
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    z-index: 1050; 
    display: flex;
    align-items: center; 
    justify-content: center;
}

.permission-modal-content {
    background: #fff;
    border-radius: 6px;
    max-width: 500px !important; 
    width: 100%;
    padding: 20px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

#permission-model .form-check-input {
    transform: scale(1.5);
    margin-left: 50px;
}

#permission-model .form-check {
    padding-left: 0;
    display:flex;
    align-items:center;
    font-size: 1.1rem;
}

#permission-model .form-check-text {
    font-size: 1.1rem;
    padding-left: 15px !important;
}