/* Notifications CSS */

.notification {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: var(--white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    padding: 15px 20px;
    z-index: 1000;
    transform: translateY(100px);
    opacity: 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
    max-width: calc(100% - 40px);
}

.notification.show {
    transform: translateY(0);
    opacity: 1;
}

.notification-content {
    display: flex;
    align-items: center;
}

.notification-content i {
    margin-right: 10px;
    font-size: 1.2rem;
}

.notification-success .notification-content i {
    color: var(--success-color);
}

.notification-error .notification-content i {
    color: var(--error-color);
}

.notification-warning .notification-content i {
    color: var(--warning-color);
}

/* Mobile optimization */
@media (max-width: 767px) {
    .notification {
        bottom: 10px;
        right: 10px;
        left: 10px;
        width: calc(100% - 20px);
        padding: 12px 15px;
    }
    
    .notification-content {
        font-size: 0.9rem;
    }
}

/* Touch device optimization */
.touch-device .notification {
    bottom: 60px; /* Move up to avoid bottom navigation bars on mobile */
}
