/* Toast Notification Styles */
.toast-container {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 12px;
    pointer-events: none;
    max-width: 90%;
    width: 420px;
}

.toast {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    pointer-events: auto;
    opacity: 0;
    transform: translateY(-20px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-right: 4px solid;
}

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

.toast--hide {
    opacity: 0;
    transform: translateY(-20px);
}

.toast--success {
    border-right-color: #10b981;
    background: #f0fdf4;
}

.toast--error {
    border-right-color: #ef4444;
    background: #fef2f2;
}

.toast--warning {
    border-right-color: #f59e0b;
    background: #fffbeb;
}

.toast__icon {
    flex-shrink: 0;
}

.toast--success .toast__icon {
    color: #10b981;
}

.toast--error .toast__icon {
    color: #ef4444;
}

.toast--warning .toast__icon {
    color: #f59e0b;
}

.toast__message {
    flex: 1;
    font-size: 14px;
    line-height: 1.5;
    color: #1f2937;
    text-align: right;
}

.toast__close {
    flex-shrink: 0;
    background: transparent;
    border: none;
    padding: 4px;
    cursor: pointer;
    color: #6b7280;
    transition: color 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.toast__close:hover {
    color: #1f2937;
}

.toast__close:focus {
    outline: 2px solid #3b82f6;
    outline-offset: 2px;
    border-radius: 4px;
}

/* Mobile responsive */
@media (max-width: 640px) {
    .toast-container {
        top: 10px;
        max-width: calc(100% - 20px);
    }

    .toast {
        padding: 12px 16px;
        font-size: 13px;
    }
}

