
/* Estilo da barra de notificações (iFood style) */
#notification-bar {
    position: fixed;
    margin-top: 20px;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 380px;
    max-height: 420px;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    z-index: 2000;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    overflow-y: auto;
    border: none;
    animation: fadeIn 0.3s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translate(-50%, -10px);
    }
    to {
        opacity: 1;
        transform: translate(-50%, 0);
    }
}

#notification-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    background: #ffffff;
    border-bottom: 1px solid #f0f0f0;
    font-size: 16px;
    font-weight: 700;
    color: #3e3e3e;
    border-radius: 16px 16px 0 0;
}

#close-bar {
    background: transparent;
    border: none;
    cursor: pointer;
    font-size: 22px;
    color: #9e9e9e;
    transition: color 0.2s ease;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

#close-bar:hover {
    color: #3e3e3e;
    background-color: #f5f5f5;
}

#notification-container {
    padding: 16px;
}

.notification-item {
    background: #ffffff;
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 12px;
    font-size: 14px;
    color: #3e3e3e;
    display: flex;
    flex-direction: column;
    gap: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    border: 1px solid #f0f0f0;
    position: relative;
}

.notification-title {
    font-weight: 700;
    color: #3e3e3e;
    font-size: 15px;
}

.notification-status {
    font-size: 13px;
    color: #717171;
    display: flex;
    align-items: center;
    gap: 8px;
}

.notification-status .status-badge {
    padding: 4px 10px;
    border-radius: 100px;
    font-weight: 500;
    font-size: 12px;
}

.notification-status .status-badge.aguardando {
    background: #FFF0E0;
    color: #EA9000;
}

.notification-status .status-badge.aprovado {
    background: #E8F5E9;
    color: #2E7D32;
}

/* Adicional: Ícone para pedidos similar ao iFood */
.notification-item::before {
    content: '';
    position: absolute;
    left: 16px;
    top: 16px;
    width: 36px;
    height: 36px;
    background-color: #F5F5F5;
    border-radius: 50%;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23EA1D2C'%3E%3Cpath d='M18 6h-2c0-2.21-1.79-4-4-4S8 3.79 8 6H6c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V8c0-1.1-.9-2-2-2zm-8 4c0 .55-.45 1-1 1s-1-.45-1-1V8h2v2zm3 0c0 .55-.45 1-1 1s-1-.45-1-1V8h2v2zm3 0c0 .55-.45 1-1 1s-1-.45-1-1V8h2v2z'/%3E%3C/svg%3E");
    background-position: center;
    background-repeat: no-repeat;
    background-size: 20px;
}

/* Ajuste para o conteúdo da notificação com ícone */
.notification-item {
    padding-left: 60px;
}
