﻿

.progress_modal {
    position: fixed;
    height: 100%;
    width: 100%;
    top: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: rgba(255, 248, 225, 0.88);
    z-index: 9999;
}

.progress_center {
    width: 220px;
    padding: 18px;
    background-color: #ffffff;
    border-radius: 16px;
    border: 1px solid #ffd54f;
    box-shadow: 0 10px 35px rgba(123, 0, 0, 0.25);
}

.loader {
    width: 100px;
    height: 100px;
    margin: 20px auto;
    transform: rotate(-45deg);
    font-size: 0;
    line-height: 0;
    animation: rotate-loader 5s infinite;
    padding: 25px;
    border: 2px solid #b71c1c;
    border-radius: 12px;
    box-shadow: 0 0 18px rgba(255, 179, 0, 0.45);
}

    .loader .loader-inner {
        position: relative;
        display: inline-block;
        width: 50%;
        height: 50%;
    }

    .loader .loading {
        position: absolute;
        background: linear-gradient(135deg, #7b0000, #b71c1c, #ffb300);
    }

    .loader .one {
        width: 100%;
        bottom: 0;
        height: 0;
        animation: loading-one 1s infinite;
    }

    .loader .two {
        width: 0;
        height: 100%;
        left: 0;
        animation: loading-two 1s infinite;
        animation-delay: 0.25s;
    }

    .loader .three {
        width: 0;
        height: 100%;
        right: 0;
        animation: loading-two 1s infinite;
        animation-delay: 0.75s;
    }

    .loader .four {
        width: 100%;
        top: 0;
        height: 0;
        animation: loading-one 1s infinite;
        animation-delay: 0.5s;
    }

@keyframes loading-one {
    0% {
        height: 0;
        opacity: 1;
    }

    12.5% {
        height: 100%;
        opacity: 1;
    }

    50% {
        opacity: 1;
    }

    100% {
        height: 100%;
        opacity: 0;
    }
}

@keyframes loading-two {
    0% {
        width: 0;
        opacity: 1;
    }

    12.5% {
        width: 100%;
        opacity: 1;
    }

    50% {
        opacity: 1;
    }

    100% {
        width: 100%;
        opacity: 0;
    }
}

@keyframes rotate-loader {
    0% {
        transform: rotate(-45deg);
    }

    20% {
        transform: rotate(-45deg);
    }

    25% {
        transform: rotate(-135deg);
    }

    45% {
        transform: rotate(-135deg);
    }

    50% {
        transform: rotate(-225deg);
    }

    70% {
        transform: rotate(-225deg);
    }

    75% {
        transform: rotate(-315deg);
    }

    95% {
        transform: rotate(-315deg);
    }

    100% {
        transform: rotate(-405deg);
    }
}

/* ------------------- TVK THEME DATA MODAL ------------------- */

.data_modal {
    position: fixed;
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: linear-gradient( rgba(74, 0, 0, 0.45), rgba(183, 28, 28, 0.35) ), url('/ASSETS/IMAGES/trans.png');
    z-index: 9998;
}

.data_center {
    width: 60%;
    padding: 20px;
    border-radius: 16px;
    background-color: #ffffff;
    border: 1px solid #ffd54f;
    box-shadow: 0 12px 35px rgba(74, 0, 0, 0.30);
}

@media screen and (max-width: 768px) {
    .data_center {
        width: 92%;
    }

    .progress_center {
        width: 190px;
    }
}
