﻿/* Modal background */
.modal-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: none; /* Hidden by default */
    justify-content: center;
    align-items: center;
    z-index: 1000; /* Ensure it appears on top */
}

/* Modal content */
.modal-content {
    background-color: #fff;
    padding: 5px;
    border-radius: 8px;
    max-width: 500px;
    width: 96%;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

/* Close button */
.close-button {
    position: absolute;
    top: 3px;
    right: 14px;
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
}

.modal-header {
    font-size: 14px;
    font-weight: bold;
    padding: .5rem .5rem !important;    
}
    .modal-header > h5 {
        color: var(--blue);
        font-size:14px !important;
    }

.modal-body {
    margin-bottom: 5px;
    padding: .3rem !important;
}

.modal-background {
    transition: opacity 0.3s ease;
}

    .modal-background.show {
        opacity: 1;
        display: flex;
    }

    .modal-background.hide {
        opacity: 0;
        display: none;
    }








.duesList > .modal-background > .modal-content {
    position: absolute !important;
    left:3%;
    float:left;
    width: 94%;
    pointer-events: auto;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid rgba(0, 0, 0, .2);
    border-radius: .3rem;
    outline: 0;
    top: 45px;
}


    .duesList > .modal-background > .modal-content > .close-button {
        top: 6px !important;
        right: 12px !important;
    }