/* Toast Notification Styles */
.toast-container {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10000;
    display: flex;
    flex-direction: column;
    gap: 10px;
    pointer-events: none;
    /* Allow clicking through container */
}

.toast {
    background: white;
    color: #1D1D1F;
    padding: 16px 24px;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 320px;
    max-width: 90vw;
    text-align: left;
    transform: translateY(-20px);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    /* Apple-like easing */
    pointer-events: auto;
    /* Re-enable pointer events for toast */
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

@media (prefers-color-scheme: dark) {
    .toast {
        background: rgba(28, 28, 30, 0.95);
        color: #FFFFFF;
        border: 1px solid rgba(255, 255, 255, 0.1);
    }
}

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

.toast.hiding {
    opacity: 0;
    transform: translateY(-10px) scale(0.95);
}

.toast-success {
    border-left: 4px solid #34C759;
}

.toast-error {
    border-left: 4px solid #FF3B30;
}

.toast-icon {
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.toast-message {
    font-size: 15px;
    font-weight: 500;
    line-height: 1.4;
}

.toast-success .toast-icon {
    color: #34C759;
}

.toast-error .toast-icon {
    color: #FF3B30;
}