/* Toast Bildirimleri CSS */
#toast-container {
    position: fixed;
    top: 1rem;
    right: 1rem;
    z-index: 9999;
}

.toast {
    display: flex;
    align-items: flex-start;
    width: 350px;
    min-height: 64px;
    background-color: white;
    color: #333;
    border-radius: 0.375rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    margin-bottom: 0.75rem;
    overflow: hidden;
    animation: slide-in 0.3s ease-out forwards;
    opacity: 0;
    transform: translateX(100%);
}

.toast.hide {
    animation: slide-out 0.3s ease-out forwards;
}

.toast-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 100%;
    color: white;
}

.toast-content {
    flex: 1;
    padding: 0.75rem;
}

.toast-title {
    font-weight: 600;
    font-size: 0.875rem;
    margin-bottom: 0.25rem;
}

.toast-message {
    font-size: 0.875rem;
    color: #4b5563;
}

.toast-close {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    color: #9ca3af;
    align-self: flex-start;
}

.toast-close:hover {
    color: #6b7280;
}

/* Toast tipleri */
.toast-success .toast-icon {
    background-color: #10b981;
}

.toast-error .toast-icon {
    background-color: #ef4444;
}

.toast-warning .toast-icon {
    background-color: #f59e0b;
}

.toast-info .toast-icon {
    background-color: #3b82f6;
}

/* Animasyonlar */
@keyframes slide-in {
    from {
        opacity: 0;
        transform: translateX(100%);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slide-out {
    from {
        opacity: 1;
        transform: translateX(0);
    }
    to {
        opacity: 0;
        transform: translateX(100%);
    }
}
