#toast-container.lunchad-toast-container {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 9999;
    display: flex;
    flex-direction: column-reverse;
    gap: 12px;
    max-width: min(420px, calc(100vw - 48px));
    pointer-events: none;
}

.auth-page #toast-container.lunchad-toast-container {
    top: auto;
    bottom: 24px;
}

.lunchad-toast {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    border-radius: 10px;
    background: #ffffff;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.12);
    border-left: 4px solid transparent;
    color: #1f2937;
    font-size: 0.875rem;
    line-height: 1.45;
    pointer-events: auto;
    min-width: min(320px, calc(100vw - 48px));
    animation: lunchad-toast-slide-in 0.25s ease-out;
}

.lunchad-toast.is-leaving {
    animation: lunchad-toast-slide-out 0.2s ease-in forwards;
}

.lunchad-toast-success {
    border-left-color: transparent;
    background: #52c41a;
    color: #111827;
    box-shadow: 0 8px 24px rgba(82, 196, 26, 0.28);
}

.lunchad-toast-success .lunchad-toast-icon {
    background: transparent;
    color: #111827;
    width: 22px;
    height: 22px;
    margin-top: 0;
    border-radius: 0;
}

.lunchad-toast-success .lunchad-toast-icon-svg {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.lunchad-toast-success .lunchad-toast-close {
    color: #111827;
}

.lunchad-toast-success .lunchad-toast-close:hover {
    color: #374151;
}

.lunchad-toast-error {
    border-left-color: #dc2626;
    background: #fef2f2;
    color: #991b1b;
}

.lunchad-toast-warning {
    border-left-color: #d97706;
    background: #fffbeb;
    color: #92400e;
}

.lunchad-toast-info {
    border-left-color: #2563eb;
    background: #eff6ff;
    color: #1e40af;
}

.lunchad-toast-icon {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    margin-top: 1px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
    color: #fff;
}

.lunchad-toast-error .lunchad-toast-icon {
    background: #dc2626;
}

.lunchad-toast-warning .lunchad-toast-icon {
    background: #d97706;
}

.lunchad-toast-info .lunchad-toast-icon {
    background: #2563eb;
}

.lunchad-toast-message {
    flex: 1;
    padding-top: 0;
    font-weight: 500;
}

.lunchad-toast-close {
    flex-shrink: 0;
    border: none;
    background: transparent;
    color: #9ca3af;
    cursor: pointer;
    font-size: 1.125rem;
    line-height: 1;
    padding: 0;
}

.lunchad-toast-close:hover {
    color: #4b5563;
}

@keyframes lunchad-toast-slide-in {
    from {
        opacity: 0;
        transform: translateX(24px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes lunchad-toast-slide-out {
    from {
        opacity: 1;
        transform: translateX(0);
    }

    to {
        opacity: 0;
        transform: translateX(24px);
    }
}
