.toast-container {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

#toasts {
    display: none;
    min-width: 250px;
    background-color: #f57f17;
    color: #fff;
    text-align: center;
    border-radius: 6px;
    font-weight: 600;
    padding: 16px;
    position: fixed;
    z-index: 1;
    bottom: 30px;
    font-size: 17px;
    box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.2);
}

#toasts.show {
    display: block;
    -webkit-animation: fadein 0.5s, fadeout 0.5s 2.5s;
    animation: fadein 0.5s, fadeout 0.5s 2.5s;
}

/* ======================================================
   BUTTON LOADING (GENERATE RANDOM)
====================================================== */
.action-button.loading {
    pointer-events: none;
    opacity: 0.7;
    position: relative;
}

.action-button.loading::after {
    content: '';
    width: 18px;
    height: 18px;
    border: 3px solid #fff;
    border-top: 3px solid transparent;
    border-radius: 50%;
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    animation: button-spin 0.8s linear infinite;
}

@keyframes button-spin {
    from {
        transform: translateY(-50%) rotate(0deg);
    }

    to {
        transform: translateY(-50%) rotate(360deg);
    }
}