.toast-container {
    position: fixed;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    top: 0%;
    width: 100vw;
    height: 0vh;
    z-index: 99999999999;
}

.toast {
    position: fixed;
    top: 55px;
    padding: 10px 15px;
    border-radius: 10px;
    font-size: 14px;

    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 10px;


    z-index: 99999999999999;
    max-width: 90vw;
    width: max-content;
    text-align: center;
    animation: fadeInOut 2s ease-in-out forwards;
}

.toast-success {
    border: 2px solid #2ecc71;
    /* Green */
}

.toast-error {
    border: 2px solid #e74c3c;
    /* Red */
}

.toast-warn {
    border: 2px solid #f1c40f;
    /* Yellow */

}

html.dark {

    .toast {
        background: linear-gradient(to right, #1C273B, #191E2B);
        box-shadow:
            0 8px 20px rgba(0, 0, 0, 0.25),
            0 4px 10px rgba(0, 0, 0, 0.1),
            inset 0 1px 1px rgba(255, 255, 255, 0.05);
    }



}

/* ☀️ Light Mode */
html.light {

    .toast {
        background: linear-gradient(to right, #D6E2FB, #E3EBFD);
        box-shadow:
            0 8px 20px rgba(0, 0, 0, 0.1),
            0 4px 12px rgba(0, 0, 0, 0.06),
            inset 0 2px 4px rgba(255, 255, 255, 0.6);
    }
}

@keyframes fadeInOut {
    0% {
        opacity: 0;
        transform: translateY(-100px);
    }

    10% {
        opacity: 1;
        transform: translateY(0);
    }

    90% {
        opacity: 1;
        transform: translateY(0);
    }

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