/* Notification Container */
.notification-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    max-width: 400px;
}

/* Base Notification */
.notification {
    display: flex;
    align-items: center;
    padding: 1rem 1.5rem;
    margin-bottom: 1rem;
    border-radius: 12px;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    color: white;
    font-weight: 500;
    animation: slideInRight 0.3s ease-out;
    position: relative;
    overflow: hidden;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Sol kenar çizgisi */
.notification::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: currentColor;
}

/* Icon */
.notification i {
    margin-right: 0.75rem;
    font-size: 1.25rem;
}

/* Mesaj metni */
.notification span {
    flex: 1;
    margin-right: 0.75rem;
}

/* Kapatma butonu */
.notification-close {
    background: none;
    border: none;
    color: inherit;
    cursor: pointer;
    padding: 0.25rem;
    border-radius: 50%;
    transition: background-color 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
}

.notification-close:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* Notification Türleri */
.notification-success {
    background: linear-gradient(135deg, #43e97b, #28a745);
}

.notification-error {
    background: linear-gradient(135deg, #ff6b6b, #dc3545);
}

.notification-warning {
    background: linear-gradient(135deg, #fa709a, #ffc107);
    color: #333;
}

.notification-info {
    background: linear-gradient(135deg, #667eea, #764ba2);
}

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

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

.notification.removing {
    animation: slideOutRight 0.3s ease-in forwards;
}

/* Responsive */
@media (max-width: 768px) {
    .notification-container {
        top: 10px;
        right: 10px;
        left: 10px;
        max-width: none;
    }

    .notification {
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
    }
}