
.notification-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 11000;
    max-width: 400px;
}

.notification {
    background: white;
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 10px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    border-left: 4px solid #2ecc71;
    display: flex;
    align-items: center;
    gap: 12px;
    transform: translateX(400px);
    opacity: 0;
    transition: all 0.3s ease;
    max-height: 0;
    overflow: hidden;
}

.notification.show {
    transform: translateX(0);
    opacity: 1;
    max-height: min(60vh, 400px);
    overflow: auto;
}

.notification.hide {
    transform: translateX(400px);
    opacity: 0;
    max-height: 0;
    margin-bottom: 0;
}

.notification.success {
    border-left-color: #2ecc71;
}

.notification.error {
    border-left-color: #e74c3c;
}

.notification.warning {
    border-left-color: #f39c12;
}

.notification.info {
    border-left-color: #3498db;
}

.notification-icon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
    flex-shrink: 0;
}

.notification.success .notification-icon {
    background: #2ecc71;
    color: white;
}

.notification.error .notification-icon {
    background: #e74c3c;
    color: white;
}

.notification.warning .notification-icon {
    background: #f39c12;
    color: white;
}

.notification.info .notification-icon {
    background: #3498db;
    color: white;
}

.notification-content {
    flex: 1;
}

.notification-title {
    font-weight: 600;
    font-size: 0.875rem;
    margin-bottom: 4px;
    color: #2c3e50;
}

.notification-message {
    overflow-wrap: anywhere;
    font-size: 0.8125rem;
    color: #7f8c8d;
    line-height: 1.4;
}

.notification-close {
    background: none;
    border: none;
    font-size: 1.125rem;
    color: #bdc3c7;
    cursor: pointer;
    padding: 0;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s;
}

.notification-close:hover {
    color: #e74c3c;
}


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