/* -------------------------------------------

CSS for all common functions used, such as overlay, loader, modal

Index
- Hidden
- Overlay
- Loader
- Modal
- Cursor
- Row
- Scrollbar
- Desktop (Hide for Mobile)
- Mobile (Hide for Desktop)

----------------------------------------------*/

.hidden {
    display: none!important;
}

.overlay {
    top: 0;
    left: 0;
    position: fixed;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
}

.lds-ring {
    display: inline-block;
    position: relative;
    width: 80px;
    height: 80px;
}

.lds-ring.full-screen-center {
    top: calc(50vh - 40px);
    left: calc(50vw - 40px);
}

.lds-ring div {
    box-sizing: border-box;
    display: block;
    position: absolute;
    width: 64px;
    height: 64px;
    margin: 8px;
    border: 8px solid #fff;
    border-radius: 50%;
    animation: lds-ring 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
    border-color: #fff transparent transparent transparent;
}

.lds-ring div:nth-child(1) {
    animation-delay: -0.45s;
}

.lds-ring div:nth-child(2) {
    animation-delay: -0.3s;
}

.lds-ring div:nth-child(3) {
    animation-delay: -0.15s;
}

@keyframes lds-ring {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.modal-content-custom {
    background-color: white;
    margin: auto;
    padding: 20px;
    border: 1px solid #888;
    border-radius: 5px;
    max-width: 500px;
    width: 90%;
    min-width: 300px;
    text-align: center;
}

.modal-content-custom .btn {
    /* width: 100%; */
    width: calc(100% - 5vw);
    margin-top: 15px;
}

.btn-proceed {
    color: #fff;
    background: var(--success);
    border-color: var(--success); 
}

.btn-proceed:hover {
    color: #fff;
    background: var(--success-hover);
    border-color: var(--success-hover);
}

.btn-reject {
    color: #fff;
    background: var(--error);
    border-color: var(--error);
}

.btn-reject:hover {
    color: #fff;
    background: var(--error-hover);
    border-color: var(--error-hover);
}

/* The Close Button */
.close {
    color: #aaaaaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    transition: 0.2s;
    position: relative;
    left: 8px;
}
  
.close:hover, .close:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
    transition: 0.2s;
}

.modal-content-custom > img {
    display: block;
    margin: auto;
    max-width: 150px;
    max-height: 150px;
    object-fit: contain;
}

.modal-content-custom p {
    margin-top: 2rem;
    text-align: center;
    font-size: 1.5rem;
}

.clickable {
    cursor: pointer!important;
}

.unclickable {
    cursor: default!important;
}

.row-center {
    justify-content: center;
}

::-webkit-scrollbar-track {
    border-radius: 0px;
    background-color: transparent;
}

::-webkit-scrollbar {
    width: 8px;
    height: 8px;
    background-color: #F5F5F5;
}

::-webkit-scrollbar-thumb {
    border-radius: 10px;
    background-color: #5680e9;
}


@media screen and (min-width: 768px) {
    .mobile {
        display: none;
    }

    .desktop {
        display: block;
    }
}

@media screen and (max-width: 768px) {
    .mobile {
        display: block;
    }

    .desktop {
        display: none;
    }

    /* .modal-content-custom {
        margin-top: 15vh;
    } */
}
