/* =========================
   Toast Component
========================= */

.toast {
    position: fixed;
    top: 28px;
    left: 50%;
    transform: translateX(-50%) translateY(-20px);

    min-width: 320px;
    max-width: 480px;

    padding: 16px 22px;

    border-radius: 16px;

    display: flex;
    align-items: center;
    gap: 12px;

    font-size: 15px;
    font-weight: 700;

    box-shadow: 0 14px 36px rgba(0,0,0,0.15);

    opacity: 0;
    pointer-events: none;

    transition: all .25s ease;

    z-index: 9999;
}

.toast.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* =========================
   Success
========================= */

.toast-success {
    background: #eef8ef;
    border: 1px solid #b9dfbf;
    color: #2e6b39;
}

/* =========================
   Error
========================= */

.toast-error {
    background: #fff2f2;
    border: 1px solid #efc2c2;
    color: #b53939;
}

/* =========================
   Warning
========================= */

.toast-warning {
    background: #fff8e9;
    border: 1px solid #f0ddb0;
    color: #9d6b12;
}

/* =========================
   Info
========================= */

.toast-info {
    background: #eef6fd;
    border: 1px solid #c7def3;
    color: #2f5f86;
}

/* =========================
   Icon
========================= */

.toast-icon {
    font-size: 20px;
    flex-shrink: 0;
}

/* =========================
   Message
========================= */

.toast-message {
    flex: 1;
    line-height: 1.5;
}