.internal-toast-stack {
    position: fixed;
    top: 92px;
    right: 24px;
    z-index: 1080;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    max-width: 340px;
    width: calc(100% - 2rem);
}

.internal-toast {
    background: #ffffff;
    border-radius: 1rem;
    border: 1px solid rgba(63, 63, 63, 0.12);
    box-shadow: 0 18px 30px rgba(15, 23, 42, 0.14);
    padding: 0.85rem 1rem;
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 0.75rem;
    align-items: center;
    animation: toast-rise 0.35s ease;
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.internal-toast.is-hidden {
    opacity: 0;
    transform: translateY(-6px);
}

.internal-toast-icon {
    width: 30px;
    height: 30px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    color: #ffffff;
}

.internal-toast-icon svg {
    width: 16px;
    height: 16px;
}

.internal-toast-success .internal-toast-icon {
    background: linear-gradient(135deg, #2f8c63 0%, #1f5a40 100%);
}

.internal-toast-error .internal-toast-icon {
    background: linear-gradient(135deg, #d75050 0%, #a93a3a 100%);
}

.internal-toast-message {
    font-size: 0.88rem;
    color: rgba(63, 63, 63, 0.72);
    line-height: 1.35;
}

.internal-toast-close {
    background: transparent;
    border: none;
    color: rgba(63, 63, 63, 0.55);
    font-size: 0.95rem;
    line-height: 1;
    padding: 0.2rem;
}

.internal-toast-close svg {
    width: 16px;
    height: 16px;
}

.internal-toast-close:hover,
.internal-toast-close:focus {
    color: #3f3f3f;
}

@keyframes toast-rise {
    from {
        opacity: 0;
        transform: translateY(-6px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 575.98px) {
    .internal-toast-stack {
        right: 1rem;
        left: 1rem;
        top: 86px;
        max-width: none;
    }
}
