/* ═══════════════════════════════════════════════════════════
   PREMIUM GLOBAL TOASTER (STACKFOOD STYLE)
   ═══════════════════════════════════════════════════════════ */

.rx-toast-container {
    position: fixed;
    top: 25px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 99999;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    pointer-events: none;
}

.rx-toast {
    pointer-events: auto;
    background: #fff;
    min-width: 320px;
    max-width: 480px;
    padding: 10px 16px;
    border-radius: 10px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.08);
    display: flex;
    align-items: center;
    gap: 12px;
    animation: rx-toast-in 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
    border: 1px solid #eef0f2;
    position: relative;
}

@keyframes rx-toast-in {
    from { transform: translateY(-100px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.rx-toast.rx-toast-out {
    animation: rx-toast-out 0.3s ease forwards;
}

@keyframes rx-toast-out {
    from { transform: translateY(0) scale(1); opacity: 1; }
    to { transform: translateY(-20px) scale(0.9); opacity: 0; }
}

.rx-toast-icon-wrap {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 0.85rem;
    box-shadow: 0 3px 6px rgba(0,0,0,0.05);
}

.rx-toast-message {
    font-weight: 600;
    color: #111827;
    font-size: 0.9rem;
    line-height: 1.5;
    flex-grow: 1;
    white-space: normal;
    word-break: break-word;
    padding-right: 10px;
}

.rx-toast-close {
    background: transparent;
    border: none;
    color: #9ca3af;
    cursor: pointer;
    font-size: 0.8rem;
    padding: 4px;
    margin-right: -4px;
    transition: all 0.2s;
    flex-shrink: 0;
}

.rx-toast-close:hover {
    color: #111827;
    transform: scale(1.1);
}

/* Success State */
.rx-toast-success .rx-toast-icon-wrap {
    background: #e6f7ef;
    color: #27ae60;
    border: 1.5px solid #27ae60;
}
.rx-toast-success {
    border-left: 5px solid #27ae60;
}

/* Error/Warning State */
.rx-toast-error .rx-toast-icon-wrap, 
.rx-toast-warning .rx-toast-icon-wrap {
    background: #fef2f2;
    color: var(--primary-color);
    border: 1.5px solid var(--primary-color);
}
.rx-toast-error, .rx-toast-warning {
    border-left: 5px solid var(--primary-color);
}

.rx-toast-info .rx-toast-icon-wrap {
    background: #eff6ff;
    color: #3b82f6;
    border: 1.5px solid #3b82f6;
}
.rx-toast-info {
    border-left: 5px solid #3b82f6;
}


