/* --- Botão Flutuante --- */
.floating-btn {
    position: fixed;
    width: 55px;
    height: 55px;
    bottom: 30px;
    right: 30px;
    background-color: #6a1b9a;
    color: #FFF;
    border-radius: 50%;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    font-size: 28px;
    line-height: 55px;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
    z-index: 999;
}

.floating-btn:hover {
    background-color: #4a148c;
    transform: scale(1.05);
}

/* --- Status da Distribuição --- */
.distribution-status {
    margin-top: 10px;
    padding: 8px 12px;
    border-radius: 4px;
    font-weight: 600;
    text-align: center;
    font-size: 0.9rem;
    background-color: #e0e0e0;
    color: #333;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.status-good {
    background-color: #c8e6c9;
    color: #2e7d32;
}

.status-warning {
    background-color: #fff9c4;
    color: #fbc02d; /* Ajustado para cor mais escura no texto */
}

.status-bad {
    background-color: #ffcdd2;
    color: #c62828;
}

/* --- Notificações --- */
#notification-container {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2000;
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 90%;
    max-width: 400px;
    pointer-events: none;
}

.notification {
    background-color: #fff;
    color: #333;
    padding: 12px 15px;
    border-radius: 6px;
    box-shadow: 0 3px 12px rgba(0,0,0,0.15);
    display: flex;
    justify-content: space-between;
    align-items: center;
    opacity: 0;
    transform: translateY(-20px);
    transition: opacity 0.4s ease, transform 0.4s ease;
    font-size: 0.9rem;
    pointer-events: auto;
    border-left: 5px solid #ccc;
}

.notification.show {
    opacity: 1;
    transform: translateY(0);
}

.notification-message {
    flex-grow: 1;
    margin-right: 10px;
    line-height: 1.4;
}

.notification-close {
    background: none;
    border: none;
    color: #999;
    font-size: 1.4rem;
    cursor: pointer;
    padding: 0 5px;
    line-height: 1;
    transition: color 0.2s ease;
}
.notification-close:hover {
    color: #333;
}

/* Variações de Tipo de Notificação */
.notification-error {
    background-color: #ffcdd2; color: #c62828; border-left-color: #c62828;
}
.notification-error .notification-close { color: #c62828; }
.notification-error .notification-close:hover { color: #b71c1c; }

.notification-warning {
    background-color: #fff9c4; color: #af8d00; border-left-color: #fbc02d;
}
.notification-warning .notification-close { color: #af8d00; }
.notification-warning .notification-close:hover { color: #f9a825; }

.notification-success {
    background-color: #c8e6c9; color: #2e7d32; border-left-color: #2e7d32;
}
.notification-success .notification-close { color: #2e7d32; }
.notification-success .notification-close:hover { color: #1b5e20; }

.notification-info {
    background-color: #e3f2fd; color: #1e88e5; border-left-color: #1e88e5;
}
.notification-info .notification-close { color: #1e88e5; }
.notification-info .notification-close:hover { color: #1565c0; }
