.toast-item {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.18);
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.25s ease, transform 0.25s ease;
    pointer-events: auto;
    width: 310px;
    font-family: "Open Sans", sans-serif;
}

.toast-item.toast-visible {
    opacity: 1;
    transform: translateY(0);
}

.toast-body {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    color: white;
}

.toast-icon {
    flex-shrink: 0;
    opacity: 0.9;
    display: flex;
}

.toast-message {
    flex: 1;
    font-size: 13px;
    font-weight: 600;
    line-height: 140%;
}

.toast-close {
    flex-shrink: 0;
    color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    padding: 2px;
    border-radius: 4px;
    transition: color 0.15s;
    display: flex;
    background: none;
    border: none;
}

.toast-close:hover {
    color: white;
}

.toast-progress {
    height: 3px;
    background: rgba(255, 255, 255, 0.4);
    animation: toast-progress 5s linear forwards;
}

@keyframes toast-progress {
    from { width: 100%; }
    to   { width: 0%; }
}
