﻿.dots-loader {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 15px;
}

    .dots-loader span {
        display: inline-block;
        width: 8px;
        height: 8px;
        margin: 3px;
        background: #000435; /* match your button color */
        border-radius: 50%;
        animation: bounce 1.2s infinite ease-in-out;
    }

        .dots-loader span:nth-child(2) {
            animation-delay: -1.1s;
        }

        .dots-loader span:nth-child(3) {
            animation-delay: -1.0s;
        }

@keyframes bounce {
    0%, 80%, 100% {
        transform: scale(0);
    }

    40% {
        transform: scale(1);
    }
}








/* Loader container takes full screen */
#loader {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background: white; /* optional: hide page flicker */
    z-index: 9999;
}

/* The dot animation you already have */
.dots-loader {
    display: flex;
    justify-content: center;
    align-items: center;
}



.page-loader {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 70vh; /* or 100vh if you want full screen */
    width: 100%;
}







 /*🔹 Toast Alert Base*/ 
.toast-alert {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 14px 20px;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-width: 280px;
    max-width: 380px;
    box-shadow: 0 6px 14px rgba(0,0,0,0.15);
    animation: slideIn 0.4s ease, fadeOut 0.5s ease 1.3s forwards;
    z-index: 3000;
    opacity: 0.95;
}

     /*Success*/ 
    .toast-alert.success {
        background: #eafaf1;
        color: #1e7e34;
        border-left: 6px solid #28a745;
    }

     /*Danger*/ 
    .toast-alert.danger {
        background: #fdecea;
        color: #b71c1c;
        border-left: 6px solid #f44336;
    }

     /*Warning*/ 
    .toast-alert.warning {
        background: #fff8e1;
        color: #8a6d3b;
        border-left: 6px solid #ff9800;
    }

     /*Info*/ 
    .toast-alert.info {
        background: #e3f2fd;
        color: #0d47a1;
        border-left: 6px solid #2196f3;
    }

     /*Close Button*/ 
    .toast-alert .toast-close {
        background: none;
        border: none;
        font-size: 22px;
        font-weight: bold;
        color: inherit;
        cursor: pointer;
        margin-left: 74px;
    }

 /*🔹 Animations*/ 
@keyframes slideIn {
    from {
        transform: translateX(120%);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 0.95;
    }
}

@keyframes fadeOut {
    to {
        transform: translateX(120%);
        opacity: 0;
    }
}
