/* Notification Styles */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    min-width: 300px;
    max-width: 500px;
    padding: 16px 24px;
    border-radius: 8px;
    color: white;
    font-weight: 500;
    font-size: 16px;
    line-height: 1.5;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 10000;
    transform: translateX(calc(100% + 20px));
    transition: transform 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    display: flex;
    align-items: center;
    gap: 12px;
}

.notification.show {
    transform: translateX(0);
}

/* Success notification */
.notification-success {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    border-left: 4px solid #1e7e34;
}

.notification-success::before {
    content: '✓';
    display: inline-block;
    width: 24px;
    height: 24px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    text-align: center;
    line-height: 24px;
    font-weight: bold;
}

/* Error notification */
.notification-error {
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
    border-left: 4px solid #bd2130;
}

.notification-error::before {
    content: '✕';
    display: inline-block;
    width: 24px;
    height: 24px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    text-align: center;
    line-height: 24px;
    font-weight: bold;
}

/* Warning notification */
.notification-warning {
    background: linear-gradient(135deg, #ffc107 0%, #e0a800 100%);
    border-left: 4px solid #d39e00;
    color: #212529;
}

.notification-warning::before {
    content: '!';
    display: inline-block;
    width: 24px;
    height: 24px;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 50%;
    text-align: center;
    line-height: 24px;
    font-weight: bold;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .notification {
        top: 10px;
        right: 10px;
        left: 10px;
        min-width: auto;
        max-width: none;
        font-size: 14px;
    }
}

/* Animation for multiple notifications */
.notification:nth-child(2) {
    top: 90px;
}

.notification:nth-child(3) {
    top: 160px;
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
    .notification {
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    }
}