/* Toast Notification System */
.toast-container {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    z-index: 9000;
    display: flex;
    flex-direction: column-reverse;
    gap: 0.5rem;
    pointer-events: none;
}

.toast {
    pointer-events: auto;
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.85rem 1.25rem;
    border-radius: 10px;
    background: #1e293b;
    color: #f8fafc;
    font-size: 0.88rem;
    font-weight: 600;
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.25);
    transform: translateX(120%);
    opacity: 0;
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.3s ease;
    max-width: 380px;
    line-height: 1.4;
}

.toast.visible {
    transform: translateX(0);
    opacity: 1;
}

.toast.toast-success {
    background: #166534;
}

.toast.toast-error {
    background: #991b1b;
}

.toast.toast-warning {
    background: #92400e;
}

.toast.toast-info {
    background: #1e40af;
}

.toast-icon {
    font-size: 1.1rem;
    flex-shrink: 0;
}

.toast-dismiss {
    margin-left: auto;
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.6);
    cursor: pointer;
    font-size: 1.1rem;
    padding: 0.2rem;
    line-height: 1;
    flex-shrink: 0;
}

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

@media (max-width: 768px) {
    .toast-container {
        left: 1rem;
        right: 1rem;
        bottom: 1rem;
    }
    .toast {
        max-width: 100%;
    }
}
