/**
 * Loader styles for the Leena Unified Dashboard
 * This file contains all the CSS styles for the loading animation and global styles
 */

body {
    margin: 0;
    height: 100%;
    width: 100%;
}

.custom__menu-portal {
    z-index: 1305 !important;
}

.indexLeenaLoader {
    display: flex;
    gap: 12px;
    height: 100vh;
    width: 100vw;
    align-items: center;
    justify-content: center;
}

.indexLeenaLoader > .dot {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background-color: #cfe3fc;
    /* Initial color */
    animation: bounce 1s infinite;
    /* Infinite bounce animation */
}

.indexLeenaLoader > .dot1 {
    animation-delay: 0s;
}

.indexLeenaLoader > .dot2 {
    animation-delay: 0.2s;
}

.indexLeenaLoader > .dot3 {
    animation-delay: 0.4s;
}

.indexLeenaLoader > .dot4 {
    animation-delay: 0.6s;
}

@keyframes bounce {
    0%,
    20%,
    80%,
    100% {
        transform: translateY(0);
        background-color: #cfe3fc;
    }

    40% {
        transform: translateY(-10px) scale(1.3);
        background-color: #0f72ee;
    }
}

@keyframes chat-activity {
    0%,
    60%,
    100% {
        transform: initial;
    }

    30% {
        width: 16px;
    }

    60% {
        width: 32px;
    }

    90% {
        width: 162px;
    }
}

@keyframes chat {
    0% {
        transform: initial;
    }

    12.5% {
        transform: translateY(-7px);
    }

    25% {
        transform: translateY(-14px);
    }

    37.5% {
        transform: translateY(-21px);
    }

    50% {
        transform: translateY(-28px);
    }

    62.5% {
        transform: translateY(-35px);
    }

    75% {
        transform: translateY(-42px);
    }

    87.5% {
        transform: translateY(-49px);
    }

    100% {
        transform: translateY(-56px);
    }
}
