/**
 * Notification Bar Styles
 * Footer-based, non-intrusive notifications
 */

.notification-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1rem 2rem;
    background: #333;
    color: white;
    font-size: 0.95rem;
    font-weight: 500;
    text-align: center;
    transform: translateY(100%);
    transition: transform 0.3s ease-in-out;
    z-index: 9999;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    display: none;
}

.notification-bar.show {
    transform: translateY(0);
    display: block;
}

/* Type-specific colors */
.notification-bar.success {
    background: #10b981;
    color: white;
}

.notification-bar.error {
    background: #ef4444;
    color: white;
}

.notification-bar.warning {
    background: #f59e0b;
    color: white;
}

.notification-bar.info {
    background: #3b82f6;
    color: white;
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .notification-bar {
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
    }
}

/* Animation for entrance */
@keyframes slideUp {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.notification-bar.show {
    animation: slideUp 0.3s ease-out;
}
