.toast-container {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: min(380px, calc(100vw - 24px));
    pointer-events: none;
    position: fixed;
    right: 20px;
    top: 20px;
    z-index: 3000;
}

.toast-notification {
    align-items: flex-start;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-left: 4px solid #64748b;
    border-radius: 8px;
    box-shadow: 0 16px 38px rgba(15, 23, 42, 0.18);
    color: #111827;
    display: flex;
    gap: 10px;
    opacity: 0;
    padding: 12px 12px 12px 13px;
    pointer-events: auto;
    transform: translateX(18px);
    transition: opacity 0.2s ease, transform 0.2s ease;
    width: 100%;
}

.toast-notification.show {
    opacity: 1;
    transform: translateX(0);
}

.toast-notification.hide {
    opacity: 0;
    transform: translateX(18px);
}

.toast-success {
    border-left-color: #16a34a;
}

.toast-error {
    border-left-color: #dc2626;
}

.toast-warning {
    border-left-color: #d97706;
}

.toast-info {
    border-left-color: #2563eb;
}

.toast-icon {
    align-items: center;
    border-radius: 50%;
    color: #ffffff;
    display: inline-flex;
    flex: 0 0 auto;
    font-size: 12px;
    font-weight: 800;
    height: 22px;
    justify-content: center;
    line-height: 1;
    margin-top: 1px;
    width: 22px;
}

.toast-success .toast-icon {
    background: #16a34a;
}

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

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

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

.toast-message {
    flex: 1;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.35;
    min-width: 0;
    overflow-wrap: anywhere;
}

.toast-close {
    background: transparent;
    border: 0;
    color: #6b7280;
    cursor: pointer;
    flex: 0 0 auto;
    font-size: 18px;
    line-height: 1;
    margin: -1px -2px 0 4px;
    padding: 0;
}

.toast-close:hover {
    color: #111827;
}

@media (max-width: 575px) {
    .toast-container {
        left: 12px;
        max-width: none;
        right: 12px;
        top: 12px;
    }
}
