/* model */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700&display=swap');

.alt-font-fam {
    font-family: 'Roboto', sans-serif;
}

.modal-container {
    position: fixed;
    height: 100%;
    width: 100%;
    display: none;
    z-index: 9999;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal-container.active {
    display: block;
    opacity: 1;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    z-index: 9998;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal-container.active .overlay {
    opacity: 1;
    pointer-events: auto;
}

.modal-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 440px;
    width: 100%;
    padding: 30px 20px;
    border-radius: 5px;
    background-color: #fff;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s ease;
    transform: translate(-50%, -50%) scale(1.2);
    position: fixed;
    top: 50%;
    left: 50%;
    z-index: 9999;
    overflow: hidden;
}

.modal-container.active .modal-box {
    opacity: 1;
    pointer-events: auto;
    transform: translate(-50%, -50%) scale(1);
    animation: modal-in 0.3s ease-out;
}

@keyframes modal-in {
    from {
        transform: translate(-50%, -50%) scale(1.2);
        opacity: 0;
    }
    to {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }
}

.modal-box svg {
    width: 100px;
    height: 100px;
    margin-bottom: 10px;
    position: relative;
}

.tick {
    fill: none;
    stroke: #28A745;
    stroke-width: 25;
    stroke-linecap: round;
    stroke-linejoin: round;
    position: absolute;
    bottom: 20px;
    right: 20px;
    animation: drawTick 2s ease infinite;
}

@keyframes drawTick {
    from {
        stroke-dasharray: 100;
        stroke-dashoffset: 100;
    }
    to {
        stroke-dashoffset: 0;
    }
}

.modal-box h2 {
    /* margin-top: 20px; */
    margin-top: 0px;
    font-size: 25px;
    /* font-weight: 500; */
    font-weight: bold;
   }


.color-primary {
    color: #2b5996 !important;
}

.danger {
    color: #c5214c !important;
}

.modal-box h3 {
    font-size: 16px;
    font-weight: 400;
    color: #333;
    text-align: center;
}

.modal-box .buttons {
    margin-top: 25px;
}

.modal-box button {
    font-size: 14px;
    padding: 6px 12px;
    margin: 0 10px;
    background: #4070f4;
    color: #fff;
    border: none;
    border-radius: 6px;
    cursor: pointer;
}

.modal-box button:hover {
    background-color: #265df2;
}

.error-cross {
    fill: none;
    stroke: #c62828;
    stroke-width: 20;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-dasharray: 400;
    stroke-dashoffset: 400;
    animation: drawCross 2s ease infinite;
}

@keyframes drawCross {
    from {
        stroke-dashoffset: 400;
    }
    to {
        stroke-dashoffset: 0;
    }
}


/* spinner */
.backdroploder {
    background-color: rgba(255, 255, 255, 0.8);
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.spinnerloader {
    width: 50px;
    height: 50px;
    border-top: 10px solid aliceblue;
    border-right: 10px solid aliceblue;
    border-bottom: 10px solid aliceblue;
    border-left: 10px solid #8c618d;
    border-radius: 50%;
    animation: spinloader 3s linear infinite;
}

@keyframes spinloader {
    0% {
        transform: rotate(0deg);
        border-left: 10px solid deeppink;
    }
    25% {
        transform: rotate(360deg);
        border-left: 10px solid gold;
    }
    50% {
        transform: rotate(720deg);
        border-left: 10px solid palegreen;
    }
    75% {
        transform: rotate(1080deg);
        border-left: 10px solid aqua;
    }
    100% {
        transform: rotate(1440deg);
        border-left: 10px solid deeppink;
    }
}

.loaderlogo {
    color: #333131;
    letter-spacing: 0.1em;
    margin-top: 10px;
    text-align: center;
    font-size: 18px;
}

.dot {
    display: inline-block;
    font-size: 24px;
    animation: bounce-dot 1.5s infinite;
}

@keyframes bounce-dot {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-15px);
    }
}


.loaderlogo .dot:nth-of-type(1) {
    animation-delay: 0s;
}
.loaderlogo .dot:nth-of-type(2) {
    animation-delay: 0.2s;
}
.loaderlogo .dot:nth-of-type(3) {
    animation-delay: 0.4s;
}

.mtminus-3 {
    /* margin-top: -31px; */
    margin-top: -12px;
}
