.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 9998;
}

.custom-modal.show + .modal-overlay { 
    display: block;
}

.custom-modal {
    display: none;
    position: fixed;
    top: 0px;
    left:30%;
    width: 100%;
    z-index: 9999;
}

.custom-modal-content {
    background-color: #fff;
    border-radius: 8px;
    padding: 10px;
    width: 80%;
    max-width: 40%;
    text-align: center;
    margin-top: 20px;
}

.custom-modal-header {
    padding: 0px 10px;
    margin: 10px 0px;
    border-bottom: 1px solid #dee2e6;
    display: flex;
    justify-content: center;
}

.custom-modal-body {
    font-size: 16px;
    padding: 0px 10px;
    padding-bottom: 20px;
    margin-bottom: 10px;
    border-bottom: 1px solid #dee2e6;
    text-align: start;
}

.custom-modal-footer {
    display: flex;
    justify-content: end;
    padding: 10px;
}

.custom-modal-footer .btn {
    font-size: 16px;
    cursor: pointer;
}

.custom-modal-footer .btn-secondary {
    background-color:#6c757d;
    color: white;
    border: none;
    border-radius: 5px;
}

.custom-modal-footer .btn-primary {
    background-color: #26A69A;
    color: white;
    border: none;
    border-radius: 4px;
}

.custom-modal.show {
    display: flex;
}

.cancel-modal-icon {
    cursor: pointer;
    font-size: 20px;
}

.warning-icon {
    cursor: pointer;
    font-size: 20px;
}

/*  Loader Css  */

.preloader {
    width: 100%;
    height: 100%;
    top: 0px;
    position: fixed;
    z-index: 99999;
    background: rgba(255, 255, 255, 0.7);
}

.preloader .cssload-speeding-wheel {
    position: absolute;
    top: calc(50% - 3.5px);
    left: calc(50% - 3.5px)
}

.loader,.loader__figure {
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    -o-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%)
}

.loader {
    overflow: visible;
    padding-top: 2em;
    height: 0;
    width: 2em
}

.loader__figure {
    height: 0;
    width: 0;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    border: 0 solid #1976d2;
    border-radius: 50%;
    -webkit-animation: loader-figure 1.15s infinite cubic-bezier(0.215, 0.61, 0.355, 1);
    -moz-animation: loader-figure 1.15s infinite cubic-bezier(0.215, 0.61, 0.355, 1);
    animation: loader-figure 1.15s infinite cubic-bezier(0.215, 0.61, 0.355, 1)
}

.loader__label {
    float: left;
    margin-left: 50%;
    -webkit-transform: translateX(-50%);
    -moz-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    -o-transform: translateX(-50%);
    transform: translateX(-50%);
    margin: 0.5em 0 0 50%;
    font-size: 0.875em;
    letter-spacing: 0.1em;
    line-height: 1.5em;
    color: #1976d2;
    white-space: nowrap;
    -webkit-animation: loader-label 1.15s infinite cubic-bezier(0.215, 0.61, 0.355, 1);
    -moz-animation: loader-label 1.15s infinite cubic-bezier(0.215, 0.61, 0.355, 1);
    animation: loader-label 1.15s infinite cubic-bezier(0.215, 0.61, 0.355, 1)
}

@-webkit-keyframes loader-figure {
    0% {
        height: 0;
        width: 0;
        background-color: #1976d2
    }

    29% {
        background-color: #1976d2
    }

    30% {
        height: 2em;
        width: 2em;
        background-color: transparent;
        border-width: 1em;
        opacity: 1
    }

    to {
        height: 2em;
        width: 2em;
        border-width: 0;
        opacity: 0;
        background-color: transparent
    }
}

@-moz-keyframes loader-figure {
    0% {
        height: 0;
        width: 0;
        background-color: #1976d2
    }

    29% {
        background-color: #1976d2
    }

    30% {
        height: 2em;
        width: 2em;
        background-color: transparent;
        border-width: 1em;
        opacity: 1
    }

    to {
        height: 2em;
        width: 2em;
        border-width: 0;
        opacity: 0;
        background-color: transparent
    }
}

@keyframes loader-figure {
    0% {
        height: 0;
        width: 0;
        background-color: #1976d2
    }

    29% {
        background-color: #1976d2
    }

    30% {
        height: 2em;
        width: 2em;
        background-color: transparent;
        border-width: 1em;
        opacity: 1
    }

    to {
        height: 2em;
        width: 2em;
        border-width: 0;
        opacity: 0;
        background-color: transparent
    }
}

@-webkit-keyframes loader-label {
    0% {
        opacity: 0.25
    }

    30% {
        opacity: 1
    }

    to {
        opacity: 0.25
    }
}

@-moz-keyframes loader-label {
    0% {
        opacity: 0.25
    }

    30% {
        opacity: 1
    }

    to {
        opacity: 0.25
    }
}

@keyframes loader-label {
    0% {
        opacity: 0.25
    }

    30% {
        opacity: 1
    }

    to {
        opacity: 0.25
    }
}
