/* Notification Styles */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    max-width: 350px;
    background-color: #fff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    z-index: 1000;
    transform: translateX(120%);
    transition: transform 0.3s ease-out, opacity 0.3s ease-out;
    overflow: hidden;
    opacity: 1;
}

.notification.show {
    transform: translateX(0);
}

.notification-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 20px;
    border-left: 4px solid #4CAF50;
}

.notification-message {
    flex: 1;
    margin-right: 15px;
    font-size: 0.95rem;
}

.notification-close {
    background: none;
    border: none;
    color: #999;
    font-size: 1.2rem;
    cursor: pointer;
    padding: 0;
    transition: color 0.2s;
}

.notification-close:hover {
    color: #333;
}

/* Notification Container */
.notification-container {
    position: fixed;
    top: 20px;
    right: 20px;
    max-width: 350px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* When using a container, adjust notification positioning */
.notification-container .notification {
    position: relative;
    top: 0;
    right: 0;
}

/* Notification Types */
.notification.success .notification-content {
    border-left-color: #4CAF50;
}

.notification.error .notification-content {
    border-left-color: #F44336;
}

.notification.info .notification-content {
    border-left-color: #2196F3;
}

.notification.warning .notification-content {
    border-left-color: #FF9800;
}

/* Responsive adjustments */
@media (max-width: 480px) {
    .notification, .notification-container {
        top: 10px;
        right: 10px;
        left: 10px;
        max-width: none;
    }
}

/* Fade animations for removing items */
.fade-out {
    opacity: 0;
    transform: translateY(-20px);
    transition: opacity 0.3s, transform 0.3s;
} 